What is aspect oriented programming

Q

What is aspect oriented programming?

✍: Guest

A

Aspect-oriented software development is a new technology for separation of concerns (SOC) in software development. The techniques of AOSD make it possible to modularize crosscutting aspects of a system.
Ok that statement can save you for the first stage let us get down actually what is it. Letís revisit back how software development cycle evolved.
When we look back at times of COBOL where we used to break the modules in small functionalities and use reusability to its maximum.
Then came the time when we talked in terms of Objects where things were clearer as software was modeled in terms of real life examples. It worked fine and till today is the most accepted way of implementing and organizing project. So why AOP ?
? Aspect oriented programming does not oppose OOPís but rather supports it and makeís it more maintainable. So remove the logic from head the AOP is replacement of OOP. No its brother of OOP helping him to be better.
When we talk in terms of objects it is an entity which maps to real world domain. Object has attributes which represent the state of object and also define its behavior. By rule of object oriented programming object should be stand alone and communicate with other objects using messages or defined interface.
One object should not communicate with other object directly rather communicate through defined interfaces. Every object satisfies some ďConcernĒ in relation to the system

2007-10-24, 4719👍, 0💬