Differences between frameworks and Class Libraries

Source: Internet
Author: User

Currently, frameworks on the market include not only abstract classes, but also specific classes, functions, and objects).In fact, the framework has covered the functions of the traditional class library, making it difficult for everyoneThe framework differs from the category library.Theoretically, the two can only be distinguished as follows:

Application Framework

1. Purpose: To make the applicationProgramStaff derivative issued by class, derivative class can be corrected before the birth of Object

2. The class functions in the application framework often call the functions in the application.

3. Contains the relationship between classes, which presets the cooperative relationship between objects.

4. Objects often contain default behavior, which can be corrected by application programmers.

Class Library

1. Purpose: To allow programmers to use ready-made classes to create objects. classes do not reserve space for programmers to modify.

2. The function of the application can only call the function in the class library, and vice versa.

3. The class is independent and the communication mode between objects is not set.

4. The behavior of objects is fixed and cannot be corrected.

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.