Code Generating Process Model and Design and Implementation of the Model Running Platform

Author
HuangLiZuo
Advisor
ZhangChunYuan
School
National University of Defense Science and Technology
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2005
Downloads
181
Citations
3

Request the full text

Abstract

In the field of software development , the model is abstract and imitate reality system , which consists of the analysis of real-world elements to define the elements as well as the relationship between the elements . Designers using the model to better analyze and grasp the application design , and model custom tools based on this demand . With the continuous improvement of the model describing the precise extent , the study of the relationship between model and code generation has become an important issue in software engineering . In many other areas of the model study , the model for the exchange of research is increasingly subject to a high degree of attention from academia and the industry . The MDA integration of existing technologies, and established a clear relationship between the transformation between the model and the code , by the abstract model PSM ( Platform Specific Model platform model ) and PIM ( Platform work of the Independent Model platform-independent model ) model divided the MOF model describes the foundation as a model . Issues from multiple perspectives to analyze the code generation process , extract and describe the general model of the code generation process . The model will describe the conversion between the code generation process model itself and the model understandable and execution in the form of computer to meet the description of the model to the MOF , the existing non-mainstream models and custom model code generation process described needs. Topic is based on the model , its running platform is designed and implemented . Component design through to transform the relationship between the model itself and the model of the platform , to solve the issue of diversification of the model description and model transformation compatible to most of the existing models , providing a graphical service support model transformation operation . The paper first introduces the research and development status of the relationship between model and code generation , and then proceed from the conversion of existing applications of non - mainstream model with custom model code , extract and describe the code generation process model , based on the model elaborated the key issues in the design and implementation of the operating platform . Finally, specific examples of the applications from existing digitized , definition and run the code generation process model , an example to prove the availability of the model . The results of the paper played a large role in application development in the NUDT digital campus .

Table of contents

Directory 4-7 the diagram directory 7-9 table directory 9-10 summary 10-11 ABSTRACT 11-12 first chapter 12-15 1.1 Background 12-13 1.2 subject objectives and research contents 13-14 1.3 topics sources 14 1.4 thesis structure 14-15 the second chapter of the project background and key technologies 15-23 2.1 Project Background 15 2.2 Java graphical programming techniques 15-18 2.2.1 SWT 16-17 2.2.2 JFace 17-18 2.3 XML query technology 18-21 2.3.1 XPath 19 2.3.2 XSLT 19 2.3.3 XQuery 19-20 2.3.4 Saxon 20-21 2.4 template engine technology 21-22 2.5 This chapter subsections 22-23 Chapter of the overall architecture and design principles 23-26 3.1 overall architecture 23-24 3.1.1 code generation process model 23-24 3.1.2 code generation process model run platform 24 3.2 design principles 24-26 3.2.1 model defines principles 24-25 3.2.2 model development principles 25 3.2.3 model runs principle 25-26 the Chapter code generation process model 26-41 4.1 code generation process model extraction 26-33 4.1.1 Analysis of the code generation tool development process 26-28 4.1.2 code generation tools using process analysis 28-29 4.1.3 code generation tool running process analysis 29-30 4.1.4 Extraction of the code generation process model 30-31 4.1.5 code generation process model components classification 31-33 4.2 code generation process model description 33-40 4.2.1 data source component content and behavior description 34-35 4.2.2 filter component content and behavior description 35-36 4.2.3 the content and conduct of the executive branch components described 36-37 4.2.4 converter component content and behavior description 37-38 4.2.5 cached package contents and behavior of the components described 38-39 4.2.6 component relationship of content and behavior description 39-40 4.3 This chapter subsections 40-41 Chapter code generation process model run platform 41-57 5.1 code generation process model run platform design 41-43 5.1.1 code generation process model run platform composed 41 5.1.2 code generation process model run platform 41-43 5.2 code generation process model run platform implementation 43-57 5.2.1 code generation process model overall operating platform to achieve 44-45 the 5.2.2 platform model components realization 45-50 5.2.3 platform model class - PmModel 50-52 5.2.4 running platform GUI implementation 52-57 - sixth process model development DIGITALCAMPUS running instance 57-76 6.1 code generation process model development process 57-73 6.1.1 target application framework description 58-59 6.1.2 target application framework analysis 59-62 6.1.3 Target generate code confirm 62-63 6.1.4 to determine the input and conversion logic data interfaces 63-64 6.1.5 Input Logic branch - data source component development 64-65 6.1.6 input logic branch - filter components developed 65-68 6.1.7 the input logic branch - executive branch components configuration 68-70 6.1.8 conversion logic branch - the converter assembly design 70-72 6.1.9 conversion logic branch - cached package components designed 72-73 6.2 code generation process model run process 73-75 the 6.2.1 import process model 73 6.2.2 New code generation project 73 6.2.3 cached package project path binding 73 6.2.4 Executive branch start 73 6.2.5 generated code categories to choose 73-74 6.2.6 generate code example 74-75 6.3 results 75-76 Chapter VII Conclusion 76-78 7.1 work summarizes 76 a 7.2 further research direction and content 76-78 Acknowledgements 78-79 the Appendix studying for a master's degree during the thesis 79-80 the Appendix two for Master to participate during research projects 80-81 the Appendix III to the code generation process model defined file 81-86 the References 86-87