毕业论文

打赏
当前位置: 毕业论文 > 计算机论文 >

数据库代码自动生成器的设计与实现

时间:2018-09-25 11:35来源:毕业论文
基本功能方面是能生成三层架构的代码,其次,从代码生成的应用方面考虑,生成C#语言编写的模型控制类代码,便于用户更好的使用。第三,在安全性和可靠性方面,增加了服务器的选

摘要:随着软件行业的飞速发展,软件已经走向了工厂模式的开发。程序员每天都需要 编写大量的、重复的代码,大大降低了工作效率。然而代码生成器的出现缓解了这些压力,使程序员编写代码变得相对轻松。同时,数据库的使用已经和软件开发密切相关,所以DAL、BLL等层的代码的工具的研究可以满足这个领域多数开发人员的需求。
      目前,在代码生成器的研究中,国内外的商业软件都有较为成熟的产品,通过开源代码的学习和各软件功能模块的分析,本人开发出了自己的代码生成器:首先,基本功能方面是能生成三层架构的代码,其次,从代码生成的应用方面考虑,生成C#语言编写的模型控制类代码,便于用户更好的使用。第三,在安全性和可靠性方面,增加了服务器的选择功能和身份验证的方式,用户不但可以看到自己的配置,大大减少代码生成的出错率,而且可以对自己的信息(用户名、密码等)进行保存。第四,在数据库提取方面,数据库表的结构化显示使用户对其操作(添加、删除、更新等)简单、方便;第五,代码生成器提供了数据库的多元化选择。以上的功能均以满足用户的需求为理念,面向对象设计,在测试时容易查找和修改错误,而且在后续功能(其它数据库)的扩充上也简单可行。28555
毕业论文关键词:    代码生成;三层架构;数据库;
Design and implementation of database code generator
Abstract:     
        With the rapid development of the software industry, software has moved to the development of factory pattern Programmers need to write a lot of code every day, repeat code, greatly reducing the work efficiency. However, the emergence of the code generator alleviates these pressures, making the programmer relatively easy to write code At the same time, the use of the database has been closely related with the development of software, so the research of the code of DAL, BLL and other layers can meet the needs of most developers in this field.
        At present, in the study of the code generator, the commercial software at home and abroad have mature products, through the analysis of the open source code for learning and the function of each software module, the author developed the our code generator: first of all, the basic function is to generate code for the three-tier architecture. Secondly, from the code generation application into consideration, generates C# language model control code, easy to users to better use. Third, in terms of safety and reliability, an increase of server selection function and authentication, the user can not only see their own configuration, greatly reduces the error rate of code generation and storage of their information (user name, password, etc.). Fourth, in database extraction, structured database table display households on the operations (add, delete, update, etc.) and simple, convenient use; fifth, the code generator provides persification of database. Above functions were to meet the needs of users for the concept, object oriented design, in the test easier to find and fix the error and in the expansion of follow-up function (database) also simple and feasible.
Keywords:    Code generation; Three-tier Architecture; Database;
 目录
1   引言1
        1.1  课题背景1
      1.2  课题目的和意义1
      1.3  课题的基本内容1
       1.4  未来发展趋势2
2    介绍代码生成    4
2.1    探索代码生成的机制    4
2.1.1    开发人员新的需求    4 数据库代码自动生成器的设计与实现:http://www.751com.cn/jisuanji/lunwen_23436.html
------分隔线----------------------------
推荐内容