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.