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.