Architecture: A simple blueprint is a design that abstracts the needs of users into different components and can describe the communication and invocation between these components.
Framework: Software framework is a project software development process in the extraction of specific areas of the common parts of the formation of the system structure, different areas of software projects have different frameworks, the framework is semi-finished products, two development can be implemented software system
Design pattern: is a set of repeatedly used, many people know, through the classification of purpose, code design experience Summary, he emphasized that the design problem of the solution
Frameworks are not architectural frameworks that are more specific and technical than schemas, and architectural bias and design architectures can be implemented through a variety of frameworks
Framework and design pattern relationships:
The design pattern studies the design idea and the solution for the single problem, a pattern can be applied to different frameworks and implemented by different languages, whereas a framework is an application architecture, a mixture of one or more design patterns and code, although they are different, they work together to make people's designs reusable, There is the characteristic of unity in thought, so the idea of design pattern can be applied in frame design.
Schema and Design pattern relationships:
The design pattern mainly aims at the single problem solution, the category is comparatively small, but the architecture is a high-level design idea for the architecture, the category is bigger than one. Multiple design patterns may occur in a schema to solve problems in multiple architectures
An architectural design may use multiple frameworks and multiple design patterns, while the framework is an abstracted semi-finished product, the framework may contain multiple design patterns, and design patterns are solutions to a single problem
What architecture to consider before you do a project and what framework and design patterns you choose sometimes the framework and design patterns are used in one or the other. It's also more common to solve problems.
The architectural framework design pattern all appears is cohesion well-structured classes gathers the low coupling
The programmed features can be maintained, scalable, reusable, flexible.
Coupling is also known as the relationship between the blocks in the software system architecture in each of the modules of the closely related program of a measurement of the relationship between the more powerful, its coupling is stronger, the independence of the module is poor, the module coupling depends on the complexity of the module calls and transmission of information
Coupling classification (low-high) without direct coupling, data coupling, tag coupling, control coupling, coupling content coupling
1 NO direct coupling
2