> For the complete documentation index, see [llms.txt](https://go.sai.show/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://go.sai.show/part01.web-kuang-jia-gai-lan/1.01-web-kuang-jia-gai-lan-xue-xi-lu-xian.md).

# 1.01 Web框架概览:学习路线

![Web框架概览](/files/YtO1RVQZrxhcO3CRwcZb)

* Web框架概览

看不同的框架是怎么设计的

* 路由匹配

  课上会讲3种:

  * 静态路由匹配
  * 通配符匹配
  * 参数路径

  作业:

  * 正则匹配
* AOP方案

  通过AOP方案实现可观测性Middleware(tracing、metrics、log)

以上是一个Web框架的核心部分.后续的页面渲染、文件处理与静态资源、Session都可以认为是为了方便使用者而额外引入的功能.因此在进行这3部分的开发时,不会再侵入核心代码.当然,也可以做成侵入式的.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://go.sai.show/part01.web-kuang-jia-gai-lan/1.01-web-kuang-jia-gai-lan-xue-xi-lu-xian.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
