摘要
ThinkPHP5是一款基于MVC三层架构的轻量级Web框架。它在ThinkPHP3.2版本之上重新改进了底层架构,提升了开发者使用体验。文章依据MVC三层架构思想,对ThinkPHP5数据模型的创建调用、控制器层前置操作的使用以及视图层网页模板布局进行了研究,并结合实际工作经验,总结了ThinkPHP5的优缺点,提出了ThinkPHP5后续改进措施。
Thinkphpp5 is a lightweight Web framework based on MVC three-tier architecture.On the foundation of ThinkPHP3.2,it has improved the underlying architecture and enhanced the developer taste.Based on the idea of MVC three-tier architecture,this paper studies the creation and call of ThinkPHP5 data model,the use of front-end operation of controller layer and the layout of web page template in view layer.Combined with practical work experience,it summarizes the advantages and disadvantages of ThinkPHP5,and puts forward the follow-up improvement measures of ThinkPHP5.
作者
李秀珍
LI Xiuzhen(Shandong Vocational College of Industry,Zibo 256414,China)
出处
《现代信息科技》
2020年第14期90-92,共3页
Modern Information Technology