Font Size: a A A

Research And Implementation Of MDA Based EBP Code Generator

Posted on:2006-09-16Degree:MasterType:Thesis
Country:ChinaCandidate:Y B WenFull Text:PDF
GTID:2168360155972087Subject:Software engineering
Abstract/Summary:PDF Full Text Request
By wildly used of Web's technology and new achievements of technology the requirements such as expandability, reusable and transplant property etc of software become very urgently. Facing diversified nature of multitudinous technology and requirements, people are seeking the confluence point of technology and application from higher level's degree. The model drive architectural structure (Model Driven Architecture, MDA) emerges as the times require.The train of thought of MDA's model drive is followed in this article , and setting out from the platform independence model , and uses XML's technology and template method , and by way of mapping rule , having realized the corresponding code generator in the e-commerce is developed the terrace . Among them , XML is use in internal representation language which is mapping from higher level's model to indeed layer code .The template method is chiefly used the various program code generating Mapping rule is the transformation rule which between model and code .It can get the support of most software and tools with XML's definition metadata, his self is also had the ability of expression metadata, and the method to show the metadata with XML and the analysis method of XML's file has been discussed in this text.A lot of code generator uses to template method. It is consolidating calmly the unchangeable content in the program being written as template. Then metadata information described XML merges with the template, code will be generated. Research has been in progress to the method drawing to the method as well as the metadata of definition template of this article .During the process, template engine and XML parser is been used in read describe files and template engines is used for merging metadata to template. Therefore the researches also have been in progress to problems such as principle to XML's parser and the selection of template engine etc.in this text.On the foundation of the mapping of code generating establishment at layer upon layer, the establishment mapping rule is an important job, follows the metadata except thinking over to many kinds of mappings of terrace code, and still will think over the regular commonality of mapping, with the support suits even more the extension of terraces, this text what puts forward mapping rule based on mentioned above to think over and builds.It is according to the requirement of the e-commerce development of the code generator. The architectural of code generator which mainly constructed by model library, template warehouse, template engine, parser, generator and compiler .Applying this architectural structure to realize relation model mapping and Web's model mapping when building the code generator.In summary, this text is based on the method of MDA to analyze the requirement of the e-commerce. The code generator has designed and realized, and being used in e-commerce platform item. Practice shows this design scheme is feasible.
Keywords/Search Tags:Software Engineering, Code generator, MDA
PDF Full Text Request
Related items