xmlcache
代码说明:
此类包含两种缓存方式:一种是基于列表方式的,如按照某个类别显示信息、搜索某个关键词进行显示;另外一种是详细页面的缓存,如显示具体的某篇文章。 此类与具体的业务逻辑无关,只负责xml数据的读取和存储,判断是否缓存过期决定是否需要更新缓存。按照三层构架模式的话,它处于数据访问层。(Such cache includes two ways: one is based on a list of methods, such as the display information in accordance with a category, search for a keyword for display the other is cached detail page, display a specific article. Such logic has nothing to do with the specific business, is only responsible for reading and storing data in xml, to determine whether the cache expires decide whether to update the cache. In accordance with the three-tier architecture model, then it is in the data access layer.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!