19.9 C
New York
Thursday, October 31, 2024

Why use aspect-oriented programming | InfoWorld



What’s a side in AOP?

A side in aspect-oriented programming could also be outlined because the modularization of a priority. In OOP, you obtain modularity by making the most of courses. In AOP, you obtain modularity by making the most of features. A side may be logging or authentication, for instance. In AOP, the aim can be to deal with all logging or authentication to your utility in a single place.

The essence of AOP is encapsulating functionalities which are widespread whereas on the similar time enabling your utility to leverage these functionalities as want be. Such widespread functionalities or cross-cutting considerations embody logging, authentication, notifications, transaction administration, exception administration, and many others. Widespread AOP frameworks for .NET and C# embody Fortress Windsor, Microsoft Unity, Coverage Injection Block, and PostSharp.

Key ideas of AOP

When working with AOP, you ought to be aware of a few of the key ideas of the paradigm. These embody the next:



Supply hyperlink

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles