UI5框架调用ApplicationContainer.js,后者又调用每个应用的Component.js.

UI5应用的Component.js都是扩展自,或者说原型为 sap.ca.scfld.md.ComponentBase.
sap.ca.scfld.md.ComponentBase负责初始化路由器 Router。UI5应用的Component.js里定义了路由信息,即每一个url标识符会对应一个控制器和视图,比如下图所示的S2视图。

Drill down into it.

下载xml视图对应的实现Xml文件。

5. Create empty control object for S2.

6. Download controller(S2.Controller). It is the same with xml loading.
7. fire event for S2 onInit.

8. When all the files loaded, ApplicationContainer start to Render the Xml.

