摘要
在分布式系统设计中,针对B/S和C/S架构在实际应用中的不足,提出了基于.NET框架N层架构模式。根据N层体系架构的特性,利用设计模式,针对数据访问层提出了服务提供者模式。该模式是一种能提高软件扩展性的设计模式,它的特性在于可以不必更改核心代码而改变核心功能。最后利用.NET反射技术结合工厂方法,通过实现模式得以实现,使其在数据访问方面具备了更好的扩展性。
N-tiered architecture pattern based on. NET framework is proposed to solve the deficiency of traditional B/S and C/S archi- tectures in distributed system. Using design patterns, service provider model is put forward to fit the new architecture's data access layer. This model is a design pattern method to improve the extensibility of software, its core character is to replace the core function of software without changing the source code. Finally, by using. NET reflection technology and factory method, the model is actualized according to implementation patterns to get a better extensibility in the field of data access.
出处
《计算机工程与设计》
CSCD
北大核心
2008年第5期1049-1051,1054,共4页
Computer Engineering and Design
关键词
.NET框架
N层体系架构模式
设计模式
服务提供者模式
实现模式
.NET framework
N-tiered architecture pattern
design patterns
service provider model
implementation patterns