AOP _ Aspect-Oriented Programming

Source: Internet
Author: User

What is Aspect-oriented programming?

In software development, features distributed in multiple places in applications are becoming a cross-cutting concern.

This section provides another option to replace inheritance and delegation, and is clearer and more concise in many scenarios. While using Aspect-Oriented Programming, we still define general functions in one place, but we can define this function and the method where it is applied in a declarative way without modifying the affected classes. Cross-cutting concerns can be modularized into special classes, and these classes are cut. There are two advantages: First, each focus is only concentrated in one place, rather than scattered into multiple code; second, the service module is more concise, because they only contain the code of the main focus (or core function), the Code of the secondary focus is transferred to the aspect.

Not complete...

AOP _ Aspect-Oriented Programming

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.