About modules and multiplexing

Source: Internet
Author: User

Depending on the size of the multiplexed particles, the multiplexing contains the following

    1. Class reuse, with inheritance or delegation
    2. Third-party package multiplexing, common web-inf/lib directories The next heap of jar files is not only this scenario, but usually applies to tool classes
    3. Code reuse,Configuration management support such as CC (ClearCase), directly referencing the code of other project modules to another project
    4. The service is taken, and a service is opened up using a specific message interface, which is then reused

Basically, the third type of reuse is rare, with fewer configuration management tools to support this reuse, and I've only seen CC support this. Indeed, this flaw is too obvious. Other types of reuse are common, but not enough for an enterprise.

Enterprise long-term development process will accumulate a large number of available business modules, such as CMS(Content Management), security management (users, roles, etc.), if the newly developed system from these available business modules on the basis of the Assembly rather than from the base of the Assembly, it can greatly improve the development efficiency.

Flying is a framework that assembles small business modules to form a large, fully functional business system that includes the following advantages:

    • Full specification of external interfaces for all modules, reference to local service invocation and remote service invocation articles
    • The development process only focuses on the modules being developed
    • The test range is greatly reduced
    • Only modules that need to deploy changes
    • Enterprise can complete module accumulation

Ideally, the enterprise builds its own library of modules. A new application after the project, split, and then from the module library to find reusable modules, such as without modification, then directly use, such as need to modify, create the branch of the module to modify and use. If there are valuable reusable modules in the new application process, the module library can be integrated into the management.

Frame Source: https://github.com/hifong/flying

Blog space: http://www.cnblogs.com/hifong/

Demo application:https://github.com/hifong/pas

Technology QQ Group:455852142

About modules and multiplexing

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.