基于模板代码自动生成系统的研究及实现.docVIP

  • 35
  • 0
  • 约5.98万字
  • 约 64页
  • 2016-08-14 发布于江苏
  • 举报

基于模板代码自动生成系统的研究及实现.doc

沈阳理工大学硕士学位论文 摘  要 随着社会的不断发展,Web 管理信息系统的需求与日俱增。采用传统的手工 编码方式开发 Web 管理信息系统时,经常会出现大量的重复编码工作,而长时间 的重复性劳动降低了软件开发人员的工作效率和热情。为了解决 Web 管理信息系 统的快速开发,本文设计了一个基于模板的代码自动生成系统。该模板是根据客 户的需求,并通过 Dreamweaver 制作出一定规则的界面模板。通过解析用户界面 模板和提取数据库表详细信息,生成一个 Castle ActiveRecord 架构的 Web 管理信 息系统应用程序,能够实现对数据库表进行增加、查询、修改、删除等操作。 为实现本系统,主要研究了 html 控件和 aspx 控件之间的异同、如何解析 html 文件为 aspx 文件、对象关系映射技术、数据库连接技术、如何提取数据库表的详 细信息及 XML DOM 解析技术。 通过一个应用案例测试,证明本系统能够使 Castle ActiveRecord 架构 Web 管 理信息系统的开发更方便和更快捷,能够有效地提高开发人员的工作效率;不仅 把开发人员从单调的代码编写中解放出来,而且能够更快捷开发出易于维护的管 理信息系统。 关键词:模板,代码自动生成,Web 管理信息系统,Castle ActiveRecord 架构 沈阳理工大学硕士学位论文 Abstract With the development of society the demand of Web management information systems is increasing. Using the traditional hand-coding often appear a large number of duplication of code work, under long hours of working repeated can reduces the efficiency and enthusiasm. In order to solve the problem that the rapid development of web information management system and improving the efficiency, this thesis designs an automatic code generation system base on template. The regular template is creat through Dreamweaver based on customer demand. By parsing the user interface templates and extract the detail information of database tables, generate a web management information system applications of Castle ActiveRecord framework , can be achieved the function of creating, reading, updateing, deleteing to operate the table. To achieve this system, mainly studies the html control and the similarities and differences between the aspx controls, how to parse html file to aspx file, the technology of object relational mapping, the technology of database connection, how to extract more information on database tables and XML DOM parsing techniques. It is proved that this system can develop the management information system of Castle ActiveRecord framework easily and quickly, can raise the efficiency and can make the developers and mai

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档