找回密码
 立即注册
theArchitecture结构架构 | Applet 2022-10-04 52 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
如何设计架构?1.系统结构(Architecture)系统结构亦可称为架构,所谓软件架构﹐依据Perry和Wolfe之定义:SoftwareArchitecture={Elements,Forms,Rationale/Constraint},也即是软件主架构={组件元素,元素互助合作之模式,基础请求与限制}。PhilippeKruchten采纳上面的定义﹐并说明主架构之设计即是:将各组件元素以某些理想的合作模式组织起来﹐以达到系统的基本功能和限制。系统结构又分为多种款式,如PipesandFilters等。2.结构(Framework)结构亦可称为使用架构,结构的通常定义即是:在特定领域基于系统结构的可重用的设计。也可以以为结构是系统结构在特定领域下的使用。结构比较知名的比如即是MVC。3.库(Library)库应当是可重用的、相互协作的资源的调集,供开发人员进行重复调用。它与结构的首要区别在于运行时与程序的调用联系。库是被程序调用,而结构则调用程序。比较好的库有JDK。4.设计模式(DesignPattern)设计模式大家应当很熟悉,特别四人帮所写的书更是众所周知。“四人帮”将模式描绘为“在必定的环境中管理某一问题的方案”。这三个事物—问题、管理方案和环境—是模式的基本要素。给模式一个名称,考虑使用模式将生成的成果和提供一个或多个示例,关于说明模式也都是有效的。5.方式(PlatForm)由多种系统构成,其间也可以包括硬件部分。
JAVA夜未眠.CHM

(How to design the architecture? 1. System architecture System architecture can also be called architecture. The so-called software architecture is defined by Perry and Wolfe as follows: SoftwareArchitecture={Elements, Forms, Rational e/Constraint}, that is, software main architecture={Component elements, mode of element mutual cooperation, basic requirements and restrictions}. Philippe Kruchten adopted the above definition and explained that the design of the main architecture is to organize the component elements in some ideal cooperation mode to achieve the basic functions and limitations of the system. The system structure is divided into various styles, such as Pipes and Filters. 2. Framework structure can also be called use architecture. The common definition of structure is: reusable design based on system structure in specific fields. It can also be considered that architecture is the use of system architecture in a specific field. The well-known structure is MVC. 3. Library should be a collection of reusable and cooperative resources for developers to call repeatedly. The primary difference between it and structure is the call connection between runtime and program. The library is called by the program, while the structure calls the program. A better library is JDK. 4. You should be familiar with the design pattern, especially the book written by the Gang of Four. The Gang of Four described the model as "a plan to manage a problem in a certain environment". These three things - problems, management plans and environment - are the basic elements of the model. Give a name to the pattern, consider the results generated by the pattern and provide one or more examples. It is also effective to explain the pattern. 5. PlatForm is composed of multiple systems, which can also include hardware.
JAVA Sleepless. CHM)

[下载]08390130431.rar




上一篇:java2实用教程(第3版例子代码)
下一篇:图书馆管理系统(Java)