11 2008 档案

摘要:AOP是aspect-oriented programming的简写。AOP的研究逐渐成为热门,有关AOP的描述,在CSDN文章中也有人做了比较周详的描述,也有一些对描述的争论。《aspectj in action》的描述我认为最为经典,理由是:该书是aspectj研发者的手笔,而aspectj目前也是最成熟AOP的工具之一。幸运的是,ms并没有完全忽略AOP,在.net的框架类库的设计中,我们能隐隐约约的找到AOP的设计思想(虽然这是ms类库实现者为解决特定的问题而采用的方法)。这也为我们在c#中实现AOP提供了设计思路。 阅读全文
posted @ 2008-11-12 13:53 Zero.Li 阅读(2186) 评论(8) 推荐(0) 编辑
摘要:Microsoft introduced Declarative Programming Style with release of MTS and COM+. MTS and COM+ provided many configurable services. E.g. "Transactional" attributes, Synchronization attributes, etc. The best thing about all these services is that it requires minimum efforts on developer side. All the services are configurable using the attributes. But we could never really add to set of attributes that MTS or COM+ provided. To some extent it helped us to visualize the capabilities of the future ap 阅读全文
posted @ 2008-11-04 16:39 Zero.Li 阅读(1314) 评论(0) 推荐(0) 编辑
摘要:属性提供功能强大的方法以将声明信息与 C# 代码(类型、方法、属性等)相关联。与程序实体关联后,属性可在运行时查询,并可以以任意多种方式使用。 阅读全文
posted @ 2008-11-04 13:43 Zero.Li 阅读(3083) 评论(0) 推荐(0) 编辑
摘要:园子里有很多关于模式的文章,工厂模式作为使用频率最高的模式亦被谈及的最多. 大多数文章只是解释工厂模式是如何搭建的, 却没有提及其区别和功能, 使得越看越混淆. 本文从使用的角度看工厂模式, 毕竟学习模式目的就是为了使用模式, 何时,何地,使用如何的模式则要从理解这些模式的特点出发了. 阅读全文
posted @ 2008-11-03 15:30 Zero.Li 阅读(589) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示