Applying Separation of Concern for Developing Softwares Using Aspect Oriented Programming Concepts
Anil Kumar, Arvind Kumar, M. Iyyappan · Procedia Computer Science · 2016
Aspects provide a means of separating cross-cutting concerns from our core implementation code into separate modules. Cross-cutting concerns are pieces of functionality that are used across multiple parts of a system. They cut across, as opposed to standing alone. For example if every method of our program requires logging information for identification then a logging aspect can be applied to methods external to the method implementation without using logging information with the methods internally. It's a powerful technique to help employ the principle of separation of concerns within code. Aspect Oriented Programming (AOP) is a methodology that provides separation of crosscutting concerns by introducing a new unit of modularization—an aspect . Each aspect focuses on a specific crosscutting functionality.