摘要
设计模式的核心思想是代码的可重用性,在软件工程中注入设计模式思想可以使得项目真正实现工程化。文章简要介绍了设计模式的基本思想,三层架构基本模型,以及在PHP项目开发中如何应用设计模式思想部署三层架构,重点介绍了设计模式在数据访问层的应用。
The core of Design Patterns is reusable.Permeating of desigin patterns to Software Engineering can make a real engineering project.This paper introduces the basic idea of design patterns and the basic model of multilayer architecture and how to deploy multilayer architecture applying design patterns in PHP project development,and focuses on the application about design pattren in DAL.
出处
《电脑与信息技术》
2011年第2期67-70,共4页
Computer and Information Technology
关键词
设计模式
三层架构
模板引擎
PHP
简单工厂
design patterns
multiplayer architecture
template engine
PHP
simple factory