12 2012 档案
摘要:Martin Fowler说过:“任何人都可以写出计算机才能理解的代码,只有写出人能理解的代码的程序员才是好程序员。” 每一个复杂的软件都应该按层来组织。每一层代表系统的一个逻辑部件。尤其是,业务层的模块包括了所有使得系统运行的时候和其它层交互所需要的功能算法和计算,其他层包括数据访问层DAL和表现层。 业务层是任何分层系统的神经中心,包含了大部分的核心逻辑。因为这个原因,它也经常被叫做:业务逻辑层BLL。正文 1、业务逻辑层是什么 抽象的讲,业务逻辑层是系统的一部分,用来处理和业务相关的任务。本质上,业务逻辑层包括一系列执行数据的操作。数据被模型化为问题域的实体,例如:发票、用户、订...
阅读全文
摘要:Data ContractsWCF data contracts provide a mapping function between .NET CLR types that are defined in code and XML Schemas Definitions defined by the W3C organization (www.w3c.org/) that are used for communication outside the service.you can say “Data contract is a formal agreement between a servic
阅读全文
摘要:The Object Model and Domain Model patterns are often considered to refer to thesame thing. They may initially look exactly the same, because both carry dataextracted from storage. But after digging a bit, you’ll find that they have differences:the object model contains only the data, whereas the dom
阅读全文

浙公网安备 33010602011771号