您的样例应用程序仍然处于初级阶段:它知道如何提供索引页面和一些静态内容,并且有一个可用于进一步开发的良好主模板。
Your example application is still in its early stages: It knows how to serve up the index page and some static content, and it has a decent master template ready for further development.
静态文件、模板和代码都来自磁盘,组成数据库的数据表和索引也来自磁盘。
Static files, templates, and code are served from disk, as are the data tables and indexes that make up the database.
保存对主模板的更改,并重新访问应用程序的索引页面。
Save your changes to the master template, and revisit your application's index page.
设置应用程序索引页面和主模板
jobs/job_list.html模板简单地循环遍历 object_list,它通过索引视图遍历其内容,并显示一个到每条记录的详细页面的链接。
The jobs/job_list.html template simply iterates through the object_list it gets through the context by the index view, and displays a link to each record's detail page.
首先,需要一个索引文件,可调用此文件来显示颜色(或模板)选项。
First, you need an index file that can be called upon to display the color (or template) choices. The following code does just that.
模板组件有一个IndexFactory类型的属性,该属性是索引引擎的派生物,可能会因索引引擎而满负荷。
The template component has a property of type IndexFactory, a descendent of the indexing engine, which can saturate it.
层次索引模板通过一组常驻显存的索引缓存序列,隐式地表示地形块细节层次。
It represents terrain blocks detail levels by using an index buffer sequence, which resides in video memeory.
重点介绍系统在内容模型设计,模板设计,扩展架构设计,搜索引擎设计和缓存设计等方面的内容。
The design of content model, template, extendable structure, search engine and cache mechanism are introduced in detail.
重点介绍系统在内容模型设计,模板设计,扩展架构设计,搜索引擎设计和缓存设计等方面的内容。
The design of content model, template, extendable structure, search engine and cache mechanism are introduced in detail.
应用推荐