Aspects are a natural evolution of the object-oriented paradigm.
They provide a solution to some difficulties you may have encountered with modularizing your object-oriented code. You've probably found yourself repeating the same lines of code in lots of different object-oriented classes because those classes each need that functionality, and so you can't easily wrap it up in a single place. Good examples of this kind of code are audit trails, transaction handling, concurrency management, and so on. You can now modularize such code with aspects.
We've seen similar levels of enthusiasm with adopting aspects as there were with adopting objects â an enthusiasm we share; but starting out with aspects can be a tricky business. Making the shift to aspect-oriented thinking may not be as tough as many people found the shift to object-oriented thinking, but aspects still might take a little getting used to. The big question that springs to mind when trying out aspect-orientation for t
http://rapidshare.com/files/15276935/I0321246748.rar
http://rapidshare.com/files/15276935/I0321246748.rar
面向切面编程作为一种自然演进的对象导向范式的补充,能够有效解决代码重复及难以模块化的问题。例如,在多个类中实现类似的功能如事务处理、并发管理等,通过面向切面编程可以将这些横切关注点进行模块化处理。
820

被折叠的 条评论
为什么被折叠?



