二)网站项目-ProductDataProxy,Petshop 源码分析
2008-01-28 00:09
701 查看
using System;
2using System.Web;
3using System.Web.Caching;
4using System.Collections.Generic;
5using System.Configuration;
6using PetShop.Model;
7using PetShop.BLL;
8using PetShop.CacheDependencyFactory;
9
10
这个类是一个产品数据代理类,
public static IList<ProductInfo> GetProductsByCategory(string category)
public static IList<ProductInfo> GetProductsBySearch(string text)
public static ProductInfo GetProduct(string productId)
这3个类其实加个缓存罢了,我想不考虑缓存的话,这个类可以省去了
2using System.Web;
3using System.Web.Caching;
4using System.Collections.Generic;
5using System.Configuration;
6using PetShop.Model;
7using PetShop.BLL;
8using PetShop.CacheDependencyFactory;
9
10
这个类是一个产品数据代理类,
public static IList<ProductInfo> GetProductsByCategory(string category)
public static IList<ProductInfo> GetProductsBySearch(string text)
public static ProductInfo GetProduct(string productId)
这3个类其实加个缓存罢了,我想不考虑缓存的话,这个类可以省去了
相关文章推荐
- 二)网站项目-WebUtility,Petshop 源码分析
- 电影网站增删改查 spring boots/MVC/neo4j 源码分析-2 DATA 实体建模(noe4j)
- NameNode生成DataNode的网络拓扑图的源码分析---NetworkTopology
- (Spring源码解析)一步一步分析,springMVC项目启动过程(二)
- Elastic-Job-Cloud 微信h5牛牛房卡网站开发源码下载分析
- 开源项目circular-progress-button源码分析
- Hadoop-2.4.1源码分析--HDFS HeartBeat(心跳检测)之DataNode端数据块增量汇报
- 开源项目Jchat 编译以及源码分析
- Android部分开源项目源码分析之--ListView 图片顶部模糊的高斯处理
- Spring集成Spring-data-redis RedisCacheManager缓存源码分析
- BT开源项目Snark源码分析
- 网站用户访问速度监测分析项目(转)
- jQuery源码分析之proxy函数
- 网站项目管理-如何做好需求分析
- 【转载】Petshop 各个项目的作用分析
- solr dataimport 数据导入源码分析(三)
- solr dataimport 数据导入源码分析 补充
- dataserver 源码分析(三) 读写数据
- xcode 把cocos2d-x 以源码的形式包含进自己的项目适合, 性能分析问题的错误
- Hadoop学习笔记—20.网站日志分析项目案例(二)数据清洗