Monday, November 3, 2014

Aspect-oriented programming

 

AOP aims to increase modularity by allowing separation of cross-cutting concerns.In c# you can use postsharp,spring.net,castle.Logging exemplifies a cross cutting concern.

Advice is the additional code that you want to apply to your existing model.

Pointcut is the term given to the point of execution in the application at which cross-cutting concern needs to be applied.

Aspect is the combination of pointcut and advice

Dependency Injection(Dynamic Proxies)

Functional Programming

Code Generation

Dynamic languages

Low-Level MSIL Transformation

 

A mixin is a class which contains a combination of methods from other classes. How such a combination is done depends on the language, but it is not by inheritance. If a combination contains all methods of combined classes it is equivalent to multiple inheritance.

No comments: