摘要
计算机软件领域使用三层构架进行程序开发可以降低程序的耦合度,达到数据和程序界面分离,使程序构架清晰,容易维护和扩展,再配合工厂模式,则只需要开发一个需要的目标数据库操作类,更改一下工厂配置,就可以轻松地完成各种数据库的迁移,程序界面和业务逻辑代码完全不需要改动。
Field of computer software for the use of three-tier architecture development process can reduce the coupling degree, data and programming interfaces to achieve separation, the process framework of clear, easy to maintain and expand, and then with the factory pattern, only a need to develop the needs of the target types of database operations, change what the factory configuration, you can easily accomplish the various database migration, user interface and business logic code with no changes.
出处
《电脑编程技巧与维护》
2009年第22期59-60,87,共3页
Computer Programming Skills & Maintenance
关键词
软件领域
三层构架
工厂模式
数据库
Software Field
Three-tier architecture
Factory Pattern
Database