Recently I was bored. I just translated a book that is very popular in Japan. The description of the Application of UML in system design is very practical and I would like to take this opportunity to learn.
Chapter 1 from object-oriented to database
With the advancement of cutting-edge technologies, various modeling methods such as UML and Data Modeling become increasingly important. First, it is necessary to introduce the latest progress and necessity of modeling methods.
1. Necessity of modeling in system development
Recently, it is common to develop an information management system based on UML and data modeling. However, the flexibility of modules in system development is necessary. Why?
1.1 analyze user requirements
Modeling in system development is an important means between users and developers for specific requirements. This is similar to the design drawings of the construction industry.
For example, in the process of building a house, in order to embody the investor's needs, the designer has made some drawings (floor charts and floor plans ), the requirements (house design, sunshine time, earthquake resistance, etc.) and restrictions (budget, etc.) in this drawing are developed by the designers and investors. Similarly, the model in the software system is used to confirm user requirements.
1.2 system Visualization
For a long time, the software is complicated because it is not visible. Unlike auto production, software does not have its own shape. Therefore, visualization is necessary for this invisible system when building software.
Software Development has always had a thick stack of design books. Such a result is hard to clearly express the style of the software. Flexible Use of modules, the overall impression and style of the system are visible, which is very important to developers.
1.3 Productivity Improvement
The modularization of the system is not just for the above two aspects. Now there are many auxiliary tools for the modeling process. The flexible use of these tools can greatly improve the production efficiency.
In the design of the information system, the module can be made by hand and other plotting tools, but if there is a change, it will take a lot of time to modify it. A dedicated tool can be used to reflect a part of modules in the entire system when they are modified. (Details later)
1.4 Automatic Generation
A Designed module is not only used as design data, but can also be automatically generated according to the moduleCodeAnd database schema. With this function, the production efficiency of the products made into design results can be greatly improved.
1.5 Reverse Analysis
The reverse analysis is to read the existing system code (ProgramCode, database, etc.) to obtain the design information.
Flexible reverse analysis can avoid creating a new system, but is transformed based on the old system to make more effective use of modeling tools.
There are many different designs and codes in the current system, or the design book is missing, or the design book is incomplete. At this time, if there is a tool for reverse analysis of the current system code and database, it is helpful to design a new system.
Notice:
2. Types of modules in system development