Table of Contents
回复内容:
Home Backend Development PHP Tutorial PHP 框架哪个更好一点?CodeIgniter 怎么样?

PHP 框架哪个更好一点?CodeIgniter 怎么样?

Jun 06, 2016 pm 04:45 PM
cakephp codeigniter

之前用过CakePhp,现在想换CodeIgniter试试,不知道怎么样,有什么好的推荐一下么?简单介绍一下

回复内容:

CI 最新版 2.0.2 不错,可以试试。可以看下它的源码,然后扩展一下,总的来说,CI 还是比较好用的。 就我个人而言,我最看重 CodeIgniter 的地方就是他的可扩展能力,CI 几乎没有不能扩展的地方(不修改源码的情况下)。 1、优点
简介、优雅。

在那些 PHP 框架中,可以说 CI 的思维模式最接近 PHP 初级程序员了,所以,很多 PHP 程序员遇到 CI 后就喜欢上了。相比之下 Cake 的思维模式太接近 ruby,那些从 ROR 转到 PHP 阵营来的程序员应该比较喜欢 Cake,而我则更喜欢 ZendFramwork,原因很简单,我是从 Java 阵营转到 PHP 来的。

同样是中小企业框架,国内的开发者,尤其是使用百度进行搜索的开发人员,应该会更偏爱 ThinkPHP 。

2、缺点
CI 的核心小,很轻量级,但是因为一味追求小,性能,也使用了不少的全局变量,比如 global $IN, $BM, $CFG, $URI, $LANG, $OUT;。

还有一个缺点,也许是由于我使用 Java 的原因,对 CI 的单一实例很不习惯。 CI,我从1.7版本一直用到现在,绝对简洁、优雅,非常直截了当。 我用CodeIgniter,挺好用的,易上手。中文文档全面,哇哈哈 CI作为入门框架是很不错的.
连我这种美术科班的人都能上手写出完整网站,我相信大部分人都能学会:) CI我个人很喜欢,在上面做过两年开发,自由轻巧,适合开发小型CMS或者个人Bolg CodeIgniter设计简单,架构合理,PHP程序员用起来很舒服,我觉得值得推荐。 CodeIgniter非常好用,简洁,又容易根据需要扩展。 laravel好 废话不多说了,直接上链接:
Laravel vs CodeIgniter: which one is recommended?
Marc Mulzer
中文官网:Laravel-简洁、优雅的PHP开发框架(PHP Web Framework)。
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

CakePHP Project Configuration CakePHP Project Configuration Sep 10, 2024 pm 05:25 PM

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

CakePHP Working with Database CakePHP Working with Database Sep 10, 2024 pm 05:25 PM

Working with database in CakePHP is very easy. We will understand the CRUD (Create, Read, Update, Delete) operations in this chapter.

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

CakePHP Creating Validators CakePHP Creating Validators Sep 10, 2024 pm 05:26 PM

Validator can be created by adding the following two lines in the controller.

CakePHP Date and Time CakePHP Date and Time Sep 10, 2024 pm 05:27 PM

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

How to implement custom middleware in CodeIgniter How to implement custom middleware in CodeIgniter Jul 29, 2023 am 10:53 AM

How to implement custom middleware in CodeIgniter Introduction: In modern web development, middleware plays a vital role in applications. They can be used to perform some shared processing logic before or after the request reaches the controller. CodeIgniter, as a popular PHP framework, also supports the use of middleware. This article will introduce how to implement custom middleware in CodeIgniter and provide a simple code example. Middleware overview: Middleware is a kind of request

CakePHP Routing CakePHP Routing Sep 10, 2024 pm 05:25 PM

In this chapter, we are going to learn the following topics related to routing ?

CakePHP File upload CakePHP File upload Sep 10, 2024 pm 05:27 PM

To work on file upload we are going to use the form helper. Here, is an example for file upload.

See all articles