Search
Wednesday, February 22, 2012 ..:: Archive » 2011 Meetings » 02/22/11 - AOP - Marcus King ::..   Login
 Announcement Minimize

 

Marcus King will discuss Aspect-Oriented Programming.  

Aspect-Oriented Programming (AOP) is an approach to software development that goes further in the direction of separation of concerns. Separation of concerns is one of the most important rules in software development. It states that the same concern should be solved in a single unit of code. This is also called modularization.

Some concerns cannot be implemented successfully using a pure procedural or object-oriented programming. An example is code security. If you want to secure objects and methods, you have to modify the code of each method. That's why security is said to be a crosscutting concern, because it crosscuts the unit of modularization of the programming paradigm, in this case the class. 

An aspect is a concern that cross-cuts many classes and/or methods. So AOP is a technique that allows you to address issues that cross-cuts objects. AOP is frequently used to implement caching, tracing, security or failure injections. 

Food is being sponsored by DBD - daniel burton dean - Thanks!

 

 

Also, SharpCrafters is providing 2 free licenses for their PostSharp AOP software for Visual Studio.  Read more about it here.

 

 

 


 Print   
 Meeting Notes Minimize

Today, Marcus King showed us how to use Aspect Oriented Programming in .Net.  If you missed the meeting today, you missed out on a great presentation.  If you're doing entereprise level software develop and not using AOP, you're nuts!  Marcus described what AOP is, what it's good for and reviewed several frameworks that implement it.  He then demostrated using AOP using the PostSharp product.  For example, to add tracing to your project, you add a class that extends a base class for tracing and implement the functionality needed.  Then you apply an attribute to the method(s), class(es) or even entire assembly and voilà - it works!  Highly recommended!

Two lucky members - Joe Harbert and Mick Finch - won a free license for PostSharp.

At the beginning of the session I took a brief look at some linq extensions to show how you can extend the language to implement high level functionality in an expressive way.  Source Code

Food was provided by Daniel-Burton-Dean - thanks!

We had 26 people attend the meeting today, thanks for coming out.


 Print   
Copyright (c) 2012 Evansville .NET Users Group   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2012 by DotNetNuke Corporation