AOSD's impulse to practice-Use Case implementation

Source: Internet
Author: User

Author: Anders James

Currently, the object-oriented design method is used. The design granularity is divided into two levels: class and method (attribute), similar to the table and field of the database design;

In the existing implementation system, a method can accommodate multiple use cases. At the same time, because of the horizontal expansion of use cases, a use case will be associated with multiple methods; this is a many-to-many relationship that brings huge costs to our development and management.

To effectively manage use cases and their implementation ing, AOP technology becomes a good choice. AOP allows us to establish an independent and manageable design granularity for each use case: upgrade a code segment from a method to an independent method and class, and allow these use cases to be organized reasonably and orderly.

The existing technical system has established feasible solutions for us. How to organize logical operations between use cases: And, or non-operations becomes the key to implementation.

In existing practices, the logic operation of non-business use cases is clear: the execution sequence is also clear with operations (the change sequence hardly affects the business correctness ), AOP has been widely used. Due to the unclear logic of business operations, there are also uncertainties in the execution sequence. At present, it lacks proper practice management;

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.