Jano's Software Ramblings
Code & Pray from Monterrey

Postsharp

March 23, 2008 19:51 by jano

I have no idea how I missed Postsharp, it seems it has been working since year 2006. I have been working a lot looking for information about product lines in .net and I have missed this one. Postsharp isn't exactly Software Product Line technology, it is an Aspect Oriented Programming technology. However Aspects, and Product lines are closely related. In both of them the idea is adding new code in specific places of an already finished application to add new functionality. The difference is too which type of requirements their changes are related. Software Product Lines are related to functional requirements, i.e. they add new features to the existing software. On the other hand, Aspect Oriented Programming is more oriented to non-functional requirements, like performance or security. After reading about a bunch of AOP technologies such as AspectJ, ComposeJ and HyperJ, I like Postsharp implementation best. It is closer related to AspectJ (the most popular AOP language right now) but its implementation makes more sense to me. Postsharp aspects can be apply to any .net language assembly, and it doesn't bring any new construct to C#. In fact basically what it has done is create Python decorators for C#. I hope this project can keep people attention and may be even integrated closer to the .net framework.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5