Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Design-Patterns.md #70

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/Design-Patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ $data = $client->loadOutput();

## 模型-视图-控制器(MVC)

模型-视图-控制器 (MVC) 模式还有和它相关的 HMVC、HVVM 让你根据逻辑对象的不同作用去解耦。
模型-视图-控制器 (MVC) 模式还有和它相关的 HMVC、MVVM 让你根据逻辑对象的不同作用去解耦。
模型用来作为数据访问层,并以应用中通用的格式返回数据。
控制器处理请求,处理从模型层返回的数据,并载入视图,发送响应。
视图用来展示需要在响应中使用的模板(markup, xml 等等)。
Expand Down