Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > General > General Chat> AOP and code weaving
 

Pages: 1
General Chat
AOP and code weaving
Page:1/1 

  Print all messages in this thread  
Poster Message
omar
User



Location:
Salmiya, Kuwait
Joined on:
15-Oct-2004 15:44:57
Posted:
569 posts
# Posted on: 21-Oct-2009 21:48:17.  
I just wanted to simplify communication between UI and BL. That took me to POCO objects and from FRANS's detailed thread about the issue I arrived to AOP (Aspect Oriented Programming) and code weaving (or as FRANS describes it IL manipulation).

I always felt that Security, Auditing, and even exception handling pollute the functional logic we carefully build in our BL classes. No matter what base/interface classes we try to design, the code ends up with intermixed business/infrastructure stuff (security, ...) that only makes maintenance harder and more expensive.

I wanted to start separating the security code from my functional code so AOP seemed a natural fit. Investigating around I came across PostSharp (http://www.postsharp.org/) and Cecil (http://mono-project.com/Cecil).

I really like PostSharp but hoped to hear some feedback from people who have ventured along this road before me.
We don't know who we are until we see what we can do  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.