Architecture Framework Design Pattern-Standby

Source: Internet
Author: User

1. Concept

Architecture: A simple architecture is a blueprint, a design that abstracts the different requirements of a customer into an abstract component, and describes the communication and invocation between these abstract components.

Framework: Software framework is an architecture that extracts the common parts of specific domain software during project software development, and the software projects in different fields have different framework types. The framework is not a ready-to-use application system. It is a semi-finished product that provides a number of services that developers have developed two times to implement specific functions of the application system.

Design pattern: is a set of repeated use, most people know, after the purpose of classification, code design experience Summary, it emphasizes a design problem solving method.

2. Framework and structure relationship

First of all, the framework is not architecture, it should be said that the framework is more specific than architecture, more technology-oriented, and architecture is biased towards design. Another relationship is that architectures can be implemented through a variety of frameworks.

3. Relationship between frame and design pattern

The design pattern is the design idea and solution for a single problem, a pattern can be applied to different frameworks and implemented by different languages, while the framework is an application architecture, a mixture of one or more design patterns and code, although they are different, but work together to make people's design can be reused, There are some characteristics of unity in ideology, so the thought of design pattern can be applied in frame design.

4. Architecture and Design pattern relationship

The relationship between the two is very well differentiated, the design pattern is mainly aimed at a single problem of the solution, the category is relatively small, and the architecture is a high-level approach to the architecture of a design idea, category is relatively large. As you can say, multiple design patterns may appear in a schema to solve problems in multiple architectures.

5. Summary

Through the above analysis, we can know the difference between them or there are many, first of all, the architecture should be a category of the largest concept, is the highest level of design. In an architectural design, multiple frames and multiple design patterns may be used, and the framework is a semi-finished product that is abstracted from the generality, and the design pattern is the design idea and solution to solve the single problem.

So the first thing we do when we're working on a project is the architecture, the overall design of the whole problem, and then we'll consider what kind of framework and design pattern to use to implement our architecture; Of course, using only one of the frameworks and design patterns is often encountered.

All of them have common ground to solve real-life problems, and in architecture design and framework design and design patterns will show that "high cohesion, low coupling" concept; so what they have in common is to make our designs more object-oriented.

So we want to do a good project, then the architecture design, framework design and use, design patterns is very important. This article is well written to share to everyone, thanks to the original author!

Architecture Framework Design Pattern-Standby

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.