yii vs codeigneiter

11
Alberto Rodríguez Villalobos Yorlin María Solís Alemán Web Programming Environment 1

Upload: alberto-rodriguez

Post on 27-Jun-2015

164 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Yii vs codeigneiter

Alberto Rodríguez VillalobosYorlin María Solís Alemán

Web Programming Environment 1

Page 2: Yii vs codeigneiter

Yii is a high-performance PHP framework best for developing Web

applications.

Yii helps Web developers build complex applications and deliver them

on-time.

Yii is an acronym for "Yes It Is!". This is often the accurate, and most

concise response to inquires from those new toYii

Yii is the brainchild of Qiang Xue, who started the project on January 1,

2008

Page 3: Yii vs codeigneiter

Yii is a free, open-source Web application development framework

written in PHP5 that promotes clean, DRY design and encourages rapid

development.

It works to streamline your application development and helps to

ensure an extremely efficient, extensible, and maintainable end product.

Being extremely performance optimized, Yii is a perfect choice for any

sized project.

Page 4: Yii vs codeigneiter

Model-View-Controller (MVC) design pattern

Based on Prado, RoR, Symfony, Joomla

AJAX-enabled widgets

Database Access Objects (DAO), Query Builder, Active Record, DB

Migration

Form input and validation

Skinning and theming

Authentication and authorization

Page 5: Yii vs codeigneiter

Compliance to XHTML

Purely object-oriented

Friendly with third-party code

Detailed documentation

Extension library

Web Services.

Internationalization and localization

Layered Caching Scheme

Error handling and logging

Security

Automatic Code Generation

Page 6: Yii vs codeigneiter

Why ChoseYii?

Great integration with the industry standard CSS and Javascript

frameworks like JQuery, Bootstrap, made it easy to create modern

responsive designs for the customers.

Page 7: Yii vs codeigneiter

Yii

vs.

Codeigniter

Page 8: Yii vs codeigneiter

CODEIGNEITER VS YII

CodeIgniter is just a little bit more of a simple MVC framework. Yii is a

complete web-development framework used for rapid web application

development.

CodeIgniter is great for beginners.

CodeIgniter enables you to go into coding really fast and create basic

stuff quickly. But, that’s all.

Page 9: Yii vs codeigneiter

6 REASONS WHY YII FRAMEWORK IS BETTER THAN

CODEIGNITER

1. Gii code generator. Gii can create template models, views, controllers and

forms. The special case CRUD really makes it stand out. In CodeIgniter, you

need to validate it on each action. The difference is that CodeIgniter is form-

oriented while Yii is data-oriented.

2. Form handling. Gii generated forms use “active” fields. This means that when

some field is not validated, yii would display the same form to fix the problem

with all the data filled in.

3. HTML Grid component. Enables to display data in tabular way with automatic

sorting, paging, coloring of even and odd rows, etc.

Page 10: Yii vs codeigneiter

6 REASONS WHY YII FRAMEWORK IS BETTER THAN

CODEIGNITER

4. jQuery integration. This means that stuff like date-picker or auto-

complete input boxes are usually one line of PHP code and Yii spits

out all the required JavaScript, HTML and CSS code.

5. Translations. Creating multilingual websites in Yii is really easy. With

CodeIgniter you would have to create your own way of doing it.

4. Database relations. Yii supports lazy loading. This means that you don’t

have to write JOINs each time you need to get a value of related

table. If you have a ActiveRecord instance of blog post as $post, you

simply refer to author’s name.

Page 11: Yii vs codeigneiter