AOP learning resources -


i'm new aop , wondering if there reasorce out there me understand can use aop in projects.

i work in c# i'm looking tutorials practical aop , not specific tool (i.e. postsharp or other) - i'm looking common practices/patterns (not tools) , usage examples in language - not c#/.net

so far aop tied frameworks, should read documentation of aop framework rather general approach.

but can specify 3 common types of aop:

  1. pre code injection (in code file) [code generators work pior pre compilation]
  2. runtime code injection (inject, swamp pointers, in memory) [spring?, own framework]
  3. post code injection [postsharp]

most resources can found here: "http://csharp-source.net/open-source/aspect-oriented-frameworks"

the common use plugin architecture, logging, caching domain specific aop setting specific properties on object in domain , state aop dev doesn't care it, other presistance layers can use aop generate sql command objects etc.

the thing in aop need have understanding how system works if want go beyond common things logging, many junior devs don't aop careful using in domain specific way, work fine if in strong dev team has lots of experience aop.

edit: here tutorial spring aop, spring huge beast, once learn it works well, downside xml configuration rather fluent one.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -