In addition to the traditional design model, there are also some major aspects-how to build a software project from a macro perspective-the basis of the Framework Model

Source: Internet
Author: User
Framework Mode 1 Theory

Architecture Mode (Invalid tural pattern)
An architecture model describes the basic structure organization or outline of a software system. The architecture model provides subsystems defined in advance, specifying their responsibilities, and providing rules and guidelines for organizing them together. Some authors call this architecture model a system model. [Stelting02] .
An architecture pattern can often be divided into multiple design patterns for joint use. Apparently, MVC This mode is used. MVC The Mode usually includes ( Mediator ) Mode, policy ( Strategy ) Mode, synthesis ( Composite ) Mode, observer (Observer ) Mode.
In addition, common architecture models include:
· Layers (Layered) mode, also known Tiers Mode
· Blackboard (Blackboard) Mode
· Broker (Intermediary) Mode
· Distributed Process (Decentralized process) Mode
· Microkernel (Micro-core) Mode
Architecture models are often divided into the following types:
1 ), From mud to structure Type. Helps architects rationally divide the system to avoid the formation of a sea of objects ( A sea of Objects ). Including Layers (Layered) mode, Blackboard (Blackboard) mode, Pipes/Filters (Pipeline / Filter) mode.
2) distributed systems ( Distributed Systems . Provides complete architecture design for distributed systems, including image Broker (Intermediary) mode.
3) Human-Machine Interaction ( Interactive Systems Type, supporting the architecture design of a system with a human-machine interaction interface. Examples include: MVC ( Model-View-Controller ) Mode, Pac ( Presentation-extract action-control ) Mode.
4 ), Adaptable Systems Type, supporting application systems to adapt to changes in technology and software functional requirements. For example Reflection (Reflection) mode, Microkernel (Micro-core) mode.  

From:Http://fanqiang.chinaunix.net/program/project/2005-06-16/3316.shtml

Layers Architecture Mode
After collecting users' requirements for the software, the architecture design begins. The main purpose of architecture design is to divide the system into many " Plate " . There are usually two ways to divide, one is horizontal division and the other is vertical division.
Horizontal division divides the system according to business purposes. For example, a bookstore management system can be divided into purchase, sales, inventory management, and employee management.
Vertical division is different. It divides the system " Layer " , Or Layer . For example, a company's Intranet management system can be divided into the following Layer:
1. webpage, that is, the user interface, is responsible for displaying data and accepting user input;
2. Domain Layer, including JavaBean Or Com Object, B2B Services encapsulate the necessary business logic and decide what data to display and how to calculate based on user input data;
3. databases are responsible for storing data and providing the stored data according to query requirements.
4. operating system layer, suchWindows NT Or Solaris And so on
5. hardware layer, such Sun e450 Servers
Someone put this Layer Called Tier , Tier It has multiple physical meanings and different Tier Usually located on different computers, connected by the network, and Layer It is a purely logical concept and has nothing to do with physical division.
Layers The advantages of the architecture model are:
1. Changes at any layer can be well confined to this layer without affecting other layers.
Second, it is easier to accommodate new technologies and changes.Layers The architecture model allows the technology used by any layer of changes

Related Article

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.