布局和视图(Layouts and Views) 毫不奇怪,Zend Framework的视图组件叫做Zend_View。Zend_View让我们可以将页面和动作函数分离。
基于16个网页-相关网页
uses template-like Layouts and Views to separate logic from presentation
使用模版样的布局和视图来分离逻辑与表现
This hierarchy tree can be as simple or complex as you need it to be, and you can build it up using Android's set of predefined widgets and layouts, or with custom Views that you create yourself.
这个层次树可随你所愿的简单或者复杂化,你能使用Android预定义的一套工具和布局来创建它,或者使用你自己定义的Views来创建。
Lastly, make a quick update to the triage layout (app/views/layouts/triage.rhtml), and define it as you did the kiosk layout (<%= yield %>).
最后还需要修改一下 triage 布局(app/view/layouts/triage.rhtml),并按照 kiosk 布局的方式定义(<%= yield %>)。
应用推荐