原文:
When a client requests a page, OpenCms retrieves the contents for the page. This piece of
content is basically the file as it is created through the workplace. At this point, it does
not have any layout or navigation. It does, however, have information about how the
navigation should look, which template to use, and other such things. OpenCms uses this
information to fetch the correct template and place the contents into the template. The
template provides the surrounding structure, navigation, and formatting for the document.
Once the content has been rendered into the template, the resulting document is shipped
back to the client web browser.
译文(草稿):
当客户端请求某个页面的时候,
Opencms
首先取得将要显示的内容,此时的显示内容没有经过版面设计也没有导航信息,它仅仅是在工作台创建完成的基本文件,但它包含了准备使用的模板信息。
Opencms
通过该模板信息取出真正的模板,然后将模板和内容组装。模板提供了页面的骨架结构,而内容则成为了页面的血肉。然后
Opencms
将组装之后的页面返回到
客户端。
posted on 2006-11-28 12:44
mix 阅读(130)
评论(0) 编辑 收藏 所属分类:
OpenCms