- 论坛徽章:
- 0
|
Code Igniter's Application Flow Chart(axgle点评)
Code Igniter is an Open Source Web Application Framework that makes writing kick-ass PHP programs simple as apple pie
--Code Igniter是PHP爱好者的游乐园
The following graphic illustrates how data flows throughout the system:
--Code Igniter的游乐路线图
![]()
1. The index.php serves as the front controller, initializing the base resources needed to run Code Igniter.
--index.php是入口文件(游乐园入口,门票免费)
2. The Router examines the HTTP request to determine what should be done with it.
--根据HTTP请求寻找正确的路径(旅游地图,游乐向导)
3. If a cache file exists, it is sent directly to the browser, bypassing the normal system execution.
--若有缓存,则用它(已玩过的地方,只需回忆)
4. Security. Before the application controller is loaded, the HTTP request and any user submitted data is filtered for security.
--安全过滤或安全检查(警卫,防止坏人进入)
5. The Controller loads the model, core libraries, plugins, helpers, and any other resources needed to process the specific request.
--加载各种'库'文件并处理请求(使用各种工具,尽情的游玩)
6. The finalized View is rendered then sent to the web browser to be seen. If caching is enabled, the view is cached first so that on subsequent requests it can be served.
--最后,创建视图并显示(游玩结束啦,拍照片留个纪念吧)
[ 本帖最后由 axgle 于 2006-4-17 12:42 编辑 ] |
|