一种使用以预设档案为基础的快取机制的方法是定义一个客制化快取处理函式,而此一函式将用来读取、写入、与清除快取档案。
As an alternative to using the default file-based caching mechanism, you can specify a custom cache handling function that will be used to read, write and clear cached files.
有了ORM,你可以操作代表资料的软体物件,然后Active record函式库将会处理与资料库的操作。
With ORM, you can work with software objects that represent your data and let the Active Record library take care of communicating with the database.
虽然在样板中不会被提到,但是她们必须在样板被处理前,使用api函式载入或注册。
Since they are not mentioned in the templates, they must be registered or loaded explicitly via API functions before the template is processed.
应用推荐