摘要
MVC是一种软件设计典范,它强制性地使应用程序的输入、处理和输出分开,目的是实现软件系统的职能分工。目前PHP框架被广泛使用,多数都是基于MVC设计模式。ThinkPHP是一个开源的PHP开发框架,是为了简化企业级应用开发和敏捷Web应用而开发的。ThinkPHP中的MVC提供了一种敏捷开发的手段,使得开发者能够迅速地开发出稳定的企业级网站。文中介绍了MVC的构架模式并对其在ThinkPHP框架中的应用进行了研究,并以开发学生成绩管理系统为例详细说明。
The software design paradigm MVC is mandatory to make the application of the input, processing and output separately so as to achieve the division of functions of the software system. At present, PHP framework is widely used, and most of them are based on the mode of MVC. ThinkPHP is an open source PHP development framework, which is born to simplify the application development of enterprise and the quick application development of Web. MVC in ThinkPHP provides a quick development method, so that developers can quickly develop a stable business website. This paper introduces the mode of MVC and the research into its application in ThinkPHP frame- work. Finally, a detailed description of a student mark management system is given as an example.
出处
《电子科技》
2014年第4期151-153,158,共4页
Electronic Science and Technology