Atitit. Improving the development and management of the tool---the difference between the heavy frame frame class Library

Source: Internet
Author: User

Atitit. a tool to enhance research and development management --- the difference between a heavy frame frame class library

1. Heavy-duty frame is the heavy weapon of the IT industry. 1

2. Frame VS. Library Visualization Graphics 1

3. Application Framework 1

4. Class Library 2

5. Frame is non-combinable 2

6. Two directions of frame design:: Full stack and refinement 2

7. Select a frame or library ... Composable Libraries 3

8. In the last 3

1. Heavy-duty frame is the heavy weapon of the IT industry.

2. Frame VS. Visualization of the Library

What is the difference between a frame and a library? The main difference between the two is how to use them and what code to write.

· Framework - The framework controls the operation of the system and defines an extension point ( interface ) for the user to implement;

· Library -- The library gives the user control over the system operation and defines the function and type for the user to use.

The difference between a frame and a library can be expressed. The framework defines a structure that you have to populate, and the library requires you to encode around the structure it provides.

Author :: Old Wow's paw attilax ayron, email:[email protected]

Reprint please indicate source: Http://blog.csdn.net/attilax

3. Application Framework

2. apply functions from classes in the framework, often calling functions in the application.

3. The relationship between the classes, which presupposes the mutual cooperation between the objects.

4. The object often contains pre-design behavior (default Behavior), and the default behavior can be corrected by the application programmer.

4. Class Library

1. Purpose: To allow the programmer to take the ready-made class to the birth of the object, the class does not reserve space for the programmer to fix.

5. Frames are not combinable

The biggest and most significant weakness of the framework is that it cannot be combined. If you are using two frames, it is often difficult to be compatible with each other, and the extension of who is who and who is unclear.

If it is a library, the situation is different. Because you are the decision maker, you can invoke different libraries at the same time, although this adds some complexity to the programming, but at least it can be achieved.

6. Two directions of frame design:: Full stack and fine refinement

7. Select a frame or library ... Libraries that can be combined

· Designing a composable Library

For libraries, composable attributes are one of the reasons we choose it rather than the framework.

8. At the end

This article focuses on comparing libraries and frameworks in terms of composable and avoidance callbacks. Further, framework patterns exist not only in software, but also in everyday life. For example, the tour, from the beginning, traffic, accommodation, travel itinerary, etc. have been fixed, while the free line is similar to the combination of libraries, any details need to be pro-Pro, so as to achieve full control. Although the tour is very convenient, but for me, especially software development, I still more inclined to my site I am the Boss

Reference

Functional Language Library Pattern: The framework is the devil? -csdn.net.htm

Atitit. Improving the development and management of the tool---the difference between the heavy frame frame class Library

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.