Your SlideShare is downloading. ×
0
Spring.Net Aspect Oriented Programming
Spring.Net Aspect Oriented Programming
Spring.Net Aspect Oriented Programming
Spring.Net Aspect Oriented Programming
Spring.Net Aspect Oriented Programming
Spring.Net Aspect Oriented Programming
Spring.Net Aspect Oriented Programming
Spring.Net Aspect Oriented Programming
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Spring.Net Aspect Oriented Programming

1,961

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,961
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
24
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. 10 May, 2009<br />Aspect Oriented Programming - The Spring.NET Approach <br />
  • 2. AOP key terms I<br />Whereas OO decomposes applications into a hierarchy of objects, AOP decomposes programs into aspects or concerns<br />Computer programming techniques aim to provide better separation of concerns<br />The term separation of concerns is a design principle which promotes the partitioning of a computer program intro distinct entities or features, overlapping as little as possible in functionality<br />A concern is a feature or behavior of the program <br />10 May, 2009<br />Aspect Oriented Programming - The Spring.NET Approach <br />
  • 3. AOP key terms II<br />The emergence of the Aspect Oriented Programming (AOP) paradigm is driven by the need for better ways of describing and encapsulating concerns in a software application <br />Joinpoint: Point during the execution of a program, such as a method invocation or a particular exception being thrown.<br />Advice: Action taken by the AOP framework at a particular joinpoint. Different types of advice include &quot;around,&quot; &quot;before&quot; and &quot;throws&quot; advice<br />Pointcut: A set of joinpoints specifying when an advice should fire.<br />Target object: Object containing the joinpoint. Also referred to as advised or proxied object<br />10 May, 2009<br />Aspect Oriented Programming - The Spring.NET Approach <br />
  • 4. Back to the real world<br />Joinpoint = before a method call, after a method call, during the call itself<br />Pointcut = the method call itself<br />Advice = extra actions executed before, in place of or after the method call<br />10 May, 2009<br />Aspect Oriented Programming - The Spring.NET Approach <br />
  • 5. The problem<br />I want to retrieve some data from a data source.<br />Data retrieval has to be secured. Only specific authenticated users have acces to it.<br />I want to solve this with Sring.NET’s AOP features<br />10 May, 2009<br />Aspect Oriented Programming - The Spring.NET Approach <br />
  • 6. Demo<br />……………………………………….<br />10 May, 2009<br />Aspect Oriented Programming - The Spring.NET Approach <br />
  • 7. Resources<br />http://en.wikipedia.org/wiki/Aspect-oriented_programming<br />http://www.springframework.net/doc/reference/html/aop-quickstart.html<br />http://www.codeproject.com/KB/architecture/AOP_UsingSpringPart1.aspx<br />http://www.developer.com/net/csharp/article.php/3795031/Aspect-Oriented-Programming-AOP-with-SpringNet.htm<br />10 May, 2009<br />Aspect Oriented Programming - The Spring.NET Approach <br />
  • 8. Aspect Oriented Programming - The Spring.NET Approach <br />10 May, 2009<br />

×