以安装模块installation/index.php的加载过程为例,整个加载过程分为3部分:

0. index.php

1. 预加载defines + framework

预加载defines + framework

2. 生成mvc页面

  • 核心类:JApplication、MVC(JController、JView、JModel)、JTemplate(通过<jtmpl: tmpl>、<jtmpl:translate>标签嵌入逻辑,生成局部的html)、JDocument(通过<jdoc:include>嵌入文档,生成整体的html页面)
  • 核心页面:installation/template/index.php->page.html->language.html,详见html布局

生成mvc页面

3. html布局

html布局

 

 

 posted on 2013-03-28 22:52  AlexanderYao  阅读(402)  评论(0编辑  收藏  举报