Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
11 user(s) are online (11 user(s) are browsing encyclopedia)

Members: 0
Guests: 11

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Aspect (computer science)

In computer science, an aspect is a part of a program that cross-cuts its core concerns, therefore violating its separation of concerns. In other words, it is needed to complete the program, but is not necessarily specific to the application domain the program is written for. Isolating such aspects as Data logging and persistence from business logic is the aim of the aspect-oriented programming programming paradigm.

Another possible view is that every major feature of the program, core concern (business logic), or cross-cutting concern (additional features), is an aspect, and by aspect-oriented programming#Weaving them together, you finally produce a whole out of the separate aspects.

The prism (optics) analogy describes aspects with terms from the domain of light. Like splitting light into its many aspects (different colors) with a prism, you split a problem into its separate aspects. With another prism you can put the different colors back into a white ray of light, and by the process of weaving aspects you can put your solutions for the different aspects of a problem back into a solution for the whole problem.