Magento网站运行原理解析
http://www.scutephp.com/topic-id976.html
magento是由很多模块组成。。因此magento 模块化开发,各个模块互不影响。。
其他的模块都是围绕着更新page模块的布局文件page.xml来更新网页的布局来达到自定义页面功能及显示效果的。
magento 架构分析
http://www.cnblogs.com/u0mo5/p/4615205.html
用户请求 -> magento的Controllers获取请求并分发 (如何分发需要研究)
-> 控制器 Controller 加载 object models , 返回megento Model大量的系统配置信息。
models 毫无疑问 包含大量对象资源 (Controllers 、 Controller 和 object models 具体指什么? )
-> Controller 根据 layout下的xml文件使用相应的 模板。
Loyout 加载 Blocks ,Blocks加载 Object Model 。。这样间接获取 数据库等对象资源。 ( 具体运行流程如何实现? )
-> Datas DB资源返回给 Object , Object 返回给 Block。 db资源转交给了 Block 对象。
后面省略……
浙公网安备 33010602011771号