1. Introduction to the development of Web technology, making the development of the management system, more powerful, in the development of this system, Web technology has played a skeleton support; at the same time as the development of component technology is the system. Sex, integration provides convenience and effectively introducing component technology is a direction in which the current Web system development and development; the model is characterized by modeling, intuitive graphical representation of the system, can display the system flow and function. Choosing a valid modeling method, make full use of Web technology and component technology, improve software development efficiency, and improved software reliability and maintainability, is the problem of each software developer. UML (Unified Modeling Language) is a standard modeling language based on object technology, defined well, easy to express, and powerful features make it more advantageous in object-oriented analysis and design. In system modeling based on Web technology and component technology, its perfect component modeling ideology and visual modeling advantage is more conducive to system developers understand procedures and functions, further improve the development efficiency of the web system and the reusable of web components. Sex and removable. This article will combine the modeling of the project approval process in the PDM system of our self-developed piston PDM system, introducing UML in system modeling based on Web technology and component technology. 2. Web-based application system structure For web technology-based applications, users directly face client browsers, users are using the system, the logic logic processing and data logical operations after the request are commonly used by the server and database system. Completed, it is completely transparent to the user. The result obtained after the operation is returned to the user by the browser. This process can be divided into some sub-steps, each sub-step completion can be understood to process through a separate application server, and these application servers will perform certain data exchanges between each other before the conclusions needed by the user. transfer. Figure 1 is the application structure diagram of the web.
With the development of web application technology, there will be corresponding improvements or supplements on the explanation of the web data process. 3, the UML modeling method page, script, form, and framework of the web application system is the key part of the web application. The model of the data process is used to use UML to model the above Web element application and its relationship. Modification of several elements is a brief introduction. (1) page modeling. When the user uses a web application system, it is a system operation through a page. In the page modeling, you can use two category templates "Client Page" and "Sever Page" to represent the client page and server-side page, respectively. The attribute of the client page is the variable defined in the scope of the page. The method is the function in the page script; the attribute of the server page is the variable in the page script, and the method is the function defined in the script. When using page information, the redirection of the server page may appear. In the UML modeling, use the category template "redirect"; for the client page and the constructor page of the server page, "bulid" is represented by the category template "bulid". The association is a one-way association that points to the client page by the server page, as shown in Figure 2.
In a web application, it is often used to use a hyperlink. In the UML modeling, use the category template "LINK" to indicate the hyperlink, and its parameter simulation is a link attribute. (2) Table monogram. User requirements are generally interacting with databases through a form. In UML modeling, the form is represented by the category template "form", the property is the domain in the form, the form has no method. The form is to communicate data with the web page when processing the request. This AC process is done with the submission button Submit. In order to represent this relationship in the modeling, use the Category Template "Submit". (3) Component modeling. In the WEB application system using component technology, the modeling of components is an important part. In the basic graphical modeling element of UML, a specialized component map is established. Components are also divided into client components (such as Java Applets, ActiveX controls) and server-side components. In the UML modeling representation of the system, the client component is represented by the category template "Client Component", and the server-side component is represented by "Sever Component". (4) Frame modeling. The framework is implemented by defining the category template element "frameset", and the frameset specifies and names each frame. Each frame holds a page; the use of the framework involves the target Target, and "Target" is represented by modeling. 4, UML uses the Piston PDM system in the modeling of PDM system to introduce component technology and web technology, and more simplicity and convenience of data flow on the basis of traditional PDM systems. During the modeling process of the system, it is necessary to reflect the flow of the entire system front desk and the background data interaction. In design, it is mainly to consider designing its class diagram and Component Diagram (component chart), using these two types of model diagrams to reflect the use of UML's use case drivers and system components. Since the modular design method is used in the development of the system, in the primary model diagram, the first overall partial idea is used, first considering the case diagram of the entire system, then analyze and design the child module, in each The entrance and exit setting of the model image data interaction interface. The modeling of the project approval process submodule in the piston PDM system is an example of the application of UML in this system modeling. 4.1 Project Approval Process Project Approval is part of the project management process, the function is to implement the automatic conduct of the approval process and data transfer, and cancel the use of a large number of paper documents in the traditional approval process. The following is an example of the model of UML to the project approval process as an example with the project approval of the new product development of Piston. The project approval process of the new product development of the piston has 7 links, which are project applications, organizational reviews, formulated implementations, technical committees and expert committees review, technical deputy general audits, general manager review and board review. By this seven links determine the feasibility or rationality of a project implementation. The implementation method of automation of the approval process is based on Web technology and component technology, and the review status TAG is set for each link. When tag = 1, it indicates that the project has been reviewed by this link. When tag = 0, it indicates that the project has not reviewed, or if it is not reviewed, it is necessary to return to the feasibility study of the project operation, wait Rethone review. At the same time, when reviewed at each link, it is also considered whether the project has entered the next level of review. If the project has been reviewed, the operator of the link has no right to fill in the link. Review comments on editing. That is, when maintaining each link, it is also considered the next level of review. Before modeling, first look at the project approval process, as shown in Figure 3.
In addition to these seven approval sections, in order to make it timely understanding of the project approval or progress of cross-input production, the user provides the project browsing function, and the user follows the authority granted by the administrator and is provided in the authority range and utilizes the project browsing child module. Key fields, project review status, or progress status for classification retrieval. At each part of the project review process, two parts of the functional needs are generally set, that is, the content of the assertion is filled in, editing the contents of the assertion. For example, the general manager's review link, its function setting is shown in Figure 4. In order to realize the automation of online approval, the following rules requirements are in accordance with the following rules requirements: When viewed in each link, the items listed are waiting to enter the project, Items that don't belong to this situation are displayed in this link; also People can only have a browsing feature for the previous review content before this link without editing. If you want to view the review status of the entire project, use the project to browse a completion under the authority of the administrator to the project browsing function. The links included in the entire process are similar in function settings, and the difference is the location where the review link is located throughout the review process. When the UML modeling is performed, the method separated by these links is used to model each link, and finally the single link model is integrated into a model diagram of a complete process. Due to the limitations of the space, the following is the modeling method of UML with the general manager review. 4.2 Class Diagram (CLASS DIAGRAM) designed Class Diagram of the General Manager's audit link in the project approval process, as shown in Figure (5), Figure (6), shown. Figure (6) and Figure (7) are continuation of Figure (5). This class diagram shows the relationship between the various pages in the general manager's audit link. In order to simplify, there are no properties and methods of each class in such a diagram. The entire class diagram implements the review has been completed, fill in the assessment content and editing review of the general manager.
4.3 General Manager Evaluation Component Diagram is how the function involved in the analysis is achieved, which is related to specific encoding work. The module assembly map of the general manager review link is shown in Figure (8).
4.4 Conversion class diagrams and component diagrams illustrated by the model map and component illustrate the web technology-based information interactive flow, the resource between the hyperlinks, and the page, the page, and the model map can be grasped between them. The logic, so that the program is written more rationality and convenience. In actual work, it can be set to a CRC card to facilitate programmer's use. If the object map and sequence diagram are designed in detail, it will provide greater convenience for class definitions and method settings of the entire system. 5. Connectation modeling plays an important role in the development of the system, and it is necessary to establish a system model in the development and maintenance of the system. UML is an iconic object-oriented modeling language that is intuitive, widely used, and is a relatively reasonable and effective definition of Web technology and component technology in system development. Based on the various model graphs provided by UML, it is also possible to extend its representation in accordance with all development technologies, in the modeling of this article, the UML category module expansion mechanism is used, add new to some model elements. Semantic, constructed new models to illustrate implies feature during development. By using the UML modeling, the project approval process in the web-based PDM system has been analyzed and designed. It has a clear understanding of the function of the entire process, which is beneficial to the development and maintenance of the system, and can be systematic. Upgrade or second development provides a theoretical basis.