Full Software Modeling 4

Source: Internet
Author: User

4Physical Architecture Model

The physical architecture model of the system is mainly expressed through the component diagram and deployment diagram. The main purpose of a component diagram is to display the structural relationship between system components. The deployment diagram describes the physical topology of the system hardware and the software running on this structure.

Figure19YesAA component diagram of the system, which describes that the system has two executableProgramOne is the main program for quality verification, and the other is a tool for database setup and creation of databases. The main program depends on this tool.



Figure19Component Diagram

 

Figure20Is a deployment diagram, which isC/SBut also consider the data interaction between the system and other systems. Multiple authentication clients within the same enterprise connect to the sameSQL ServerServer. If the enterprise needs to interact with other enterprisesAccessThe way the database transmits data. Because the customer needs to interact with a small amount of data, such a design can meet the requirements and achieve simple. Data is stored in oneAccessIn the database file, data is transmitted to the destination through other transmission channels, and the data is transmitted to the destination database through the software import function. And the exportedAccessFile can be usedASystem.


Figure20Deployment Diagram

5CodeExport

The role of software modeling is to smoothly transition users' needs to code. The model should be able to generate code, and the model should also be synchronized with the code. Many modeling tools support converting models into code. One advantage of using a modeling tool is that its forward engineering can generate code corresponding to the model, while the reverse engineering function can update the model based on the code. The software modeling adoptsModelmakerIt has a strong ability to generate code and can easily generateDelphiOfSource codeAnd can be integratedDelhpiOfIDEEnvironment, it is easy to synchronize code and model.ModelmakerThe code generation function of is to generate code based on the class diagram. UseTuserClass to describe code generation. Its Class Diagram21.


Figure21 TuserClass Diagram

ModelmakerGenerate code based on the class diagram and template. Figure22YesModelmakerDefault unit template, including macro and control tag. You can also customize your own template.


Figure22 modelmakerDefault unit Template


Figure23 TuserClassDelphiCode

Figure23YesModelmakerAccordingTuserClassDelphiCode.

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.