节点文献
基于领域驱动设计构建企业级Web平台的应用
Application Research on Constructing Enterprise Web Platform based on Domain-driven Design
【摘要】 领域设计作为一种新的Web软件设计思想,相对之前基于数据库驱动的开发方法,更强调了领域的概念,且架构清晰,对象职责分明,可复用性好。针对企业级Web平台中业务逻辑复杂多变、领域模型模糊等问题,以一个网上书店的领域模型为案例,提出了一种基于领域驱动设计构建Web平台的设计方案。通过对案例中领域模型的分析和设计,运用分层架构和.NET提供的实体框架,阐述了平台中层超类、接口、仓储框架、仓储工厂、仓储基类和工作单元的设计过程,为网上书店的构建及其他复杂业务逻辑的Web平台的设计提供一种通用性的软件开发框架。
【Abstract】 Compared with database-driven development,domain-driven design,as a new Web software approach,emphasizes the concept of the field. At the same time,the approach has clear structure and good reusability. Aiming at the problem that complex business logic layer of the enterprise platform and fuzzy domain model design,the Web platform design approach based on domain-driven is proposed. In this paper,layered architecture and entity framework are utilized to design domain model of the online bookstore. Then,the design process of layer supertype,interface,repository framework,repository factory,repository base class and UnitOfWork is described. The result shows that the proposed approach provides a common software development framework for Web platform design of online bookstore and other complex business logic layer.
【Key words】 domain-driven design; Web platform; business logic; domain model; repository;
- 【文献出处】 实验室研究与探索 ,Research and Exploration in Laboratory , 编辑部邮箱 ,2013年08期
- 【分类号】TP393.09
- 【被引频次】10
- 【下载频次】247