.NET AOP for .NET Developers Mats Helander, Synaptic AB Puzzle.NET • NAspect • NPersist • NFactory • NPath • ObjectMapper http://www.puzzleframework.com Aspect Oriented Programming • Answers the problem with Cross-Cutting Concerns • Continues the Modularization of Object Orientation • Classic Examples: Logging & Security • ...High Cohesion, Low Coupling (as always...) What’s It All About? • Interception & Decoration! • Proxy Pattern • Decorator Pattern In The Rear-View Mirror • Gregor Kiczales @ Cerox Park – AspectJ • Ivar Jacobson – Aspect Oriented Software Development With Use Cases Concepts • Aspects • Advice • Pointcuts • Join Points • Interception – Before, After, Around, Exception • Mixins • Weavers • Glue Code Evolving Towards AOP • DEMO Application • Source Code Manipulation • Byte Code Manuipulation • Runtime Subclassing • Proxies (No self interception) • Profiling API • Context-Bound (Interception only, no self interception) Runtime Subclassing • Code Generation of Glue Code at Runtime • Standard Object Oriented Theory of Extensions • Debugger Friendly More Cross-Cutting Concerns • Caching • Lazy Loading • Dirty Tracking • Transactions • Undo / Redo
Description: