saskodh / framework

Lightweight web framework for NodeJS inspired by Spring framework
26 stars 5 forks source link

Add support for AOP #35

Closed saskodh closed 8 years ago

saskodh commented 8 years ago

Background

Aspect-oriented programming enables modularization of the cross-cutting concerns. Cross-cutting concerns are generic functionality that is needed in many places in one application. Example: Logging, Transaction management, Security, Caching, Error handing.. Failing to modularize the cross-cutting concerns leads to:

Example requirement solvable with AOP: Perform a role based security check before every application method.

Task

saskodh commented 8 years ago

@draganAndonovski please add an example usage in the framework-showcase project.