ThinkPHP 与 CodeIgniter 开发框架的粗略简单不细致比较
Comparison of the development framework,ThinkPHP and
CodeIgniter
Author:Jinya Nickname:EI Nino
NWSUAF Information engineering college
未经本论文作者的书面授权,依法收存和保管本论文书面版本、电子版本的任何单位和个人,均不得对本论文的全部或部分内容进行任何形式的复制、修改、发行、出租、改编等有碍作者著作权的商业性使用(但纯学术性使用不在此限)。否则,应承担侵权的法律责任。
摘 要
摘 要
ThinkPHP 与 CodeIgniter 开发框架的比较
随着PHP在网站开发中越来越流行,他的特点是快速,简单,门槛低,能够短时间内开发出不错的网站,原生PHP语法虽然已经很简单了,但是要是更快速的开发出有效率,安全性能高的网站也实属不易,所以诞生了各种PHP开发框架,最具著名的也就是PHP自家的框架Zend Framework 框架,也有许多其他不错的框架,比如Yii ,CakePHP ,PHPDevShell ,Akelos 等等十分优秀的框架.
ThinkPHP是国内一款优秀的轻量级PHP开发框架,经历了快10年的发展实际,现在已经十分成熟,其编译机制不输给国外的一些框架.同时作为国人自己的框架,其手册和函数说明等等都是中文的,使得国内PHP程序员能够快速的了解ThinkPHP语法,更深入的熟悉ThinkPHP的内部机理,这是国外的框架不能比拟的,因为国外的大多数框架的说明文档都是英文,虽然有中文版本,但是翻译过来的版本必然不能完全诠释英文原版的道理.ThinkPHP在国内近几年里发展非常迅速,现在国内外已有10000多运营网站使用了ThinkPHP框架.
CodeIgniter是国外的一款举足轻重的轻量级PHP开发框架,一个为建立PHP网站的人们所设计的工具包。其目标在于快速的开发项目:它提供了丰富的库组以完成常见的任务,以及简单的界面,富有条理性的架构来访问这些库。使用CodeIgniter开发可以往项目中注入更多的创造力,因为它节省了大量编码的时间。其各种操作都简洁明了,条例清晰,对于了解PHP语法并且要快速开发的人来说,是一个十分便捷的工具.
本论文通过对着两个框架的一些机制和使用原理进行解析,是读者能够清楚了解到他们的区别和相似之处,可以选择自己喜欢的框架来开发网站应用.
I
摘 要
关键词:
ThinkPHP,CodeIgniter, PHP, 框架
II
Abstract
Abstract
Comparison of the development framework,ThinkPHP and
CodeIgniter
With PHP website development is becoming more and more popular, he is fast, simple, low-threshold, short time to develop a good site, native PHP syntax is very simple, but if more rapid development of efficientwebsite with high safety performance is not easy, so the birth of the various PHP development framework, the most famous is the PHP framework Zend Framework's own framework, there are many other good framework, such as Yii, CakePHP, PHPDevShell Akelosand so a very good framework.
ThinkPHP is the domestic an excellent lightweight PHP development framework, after almost 10 years of actual development, is now very mature, compilation mechanism is not lost to some foreign frame at the same time as people own framework, its manual and function the instructions so are the Chinese, so that domestic PHP programmers to quickly about ThinkPHP syntax familiar ThinkPHP the internal mechanism, this framework can not be compared to the foreign, because most foreign framework documentation are in English , although the Chinese version, translated version must not be completely interpretation of the truth of the English original. the recent years ThinkPHP in the country is developing very rapidly, and now at home and abroad has more than 10,000 operators the site use ThinkPHP framework.
CodeIgniter abroad a pivotal lightweight PHP development framework, a toolkit designed to build PHP website people. Its goal is the rapid development of the project: It provides a rich library group to complete common tasks, as well as a simple interface wealthy rational framework to access these libraries. Use CodeIgniter developers can inject more creativity to the project, because it saves a lot of coding time. Its various operations are concise, clear, regulations, is a very convenient tool for people who know PHP syntax and to quickly develop.
This thesis is to parse through the front of the two framework mechanism and the use of the principle, the reader can clearly understand their differences and similarities, you can choose your favorite framework to develop web applications. Keywords:
ThinkPHP, CodeIgniter , PHP, framework
III