> For the complete documentation index, see [llms.txt](https://yyaozhibo.gitbook.io/qian-duan-xue-xi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yyaozhibo.gitbook.io/qian-duan-xue-xi/frame/eggjs.md).

# Eggjs 从浅及深

通俗来讲 Eggjs 就是一个以 KOA 为核心的 MVC 框架，剖析其内部可以发现，egg 的设计理念和 laravel 非常相似，它在 KOA 的基础上延展了 controller、service、config、logger，和 helper 功能。虽然 js 没有多线程，但是 egg 提供了多进程的策略。

本系列是我一如既往地从使用到深入原理，一步一步分析一个框架的记录与心得。


---

# 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://yyaozhibo.gitbook.io/qian-duan-xue-xi/frame/eggjs.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.
