Alberto RodríguezVillalobos
Yorlin María Solís Alemán
Web Programming Environment 1
 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
 Yii is a free, open-sourceWeb 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.
 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
 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
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.
Yii
vs.
Codeigniter
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.
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 whileYii 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.
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 andYii spits
out all the required JavaScript, HTML and CSS code.
5. Translations. Creating multilingual websites inYii 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.
Yii vs codeigneiter

Yii vs codeigneiter

  • 1.
    Alberto RodríguezVillalobos Yorlin MaríaSolís Alemán Web Programming Environment 1
  • 2.
     Yii isa 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
  • 3.
     Yii isa free, open-sourceWeb 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.
  • 4.
     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
  • 5.
     Compliance toXHTML  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
  • 6.
    Why ChoseYii?  Greatintegration with the industry standard CSS and Javascript frameworks like JQuery, Bootstrap, made it easy to create modern responsive designs for the customers.
  • 7.
  • 8.
    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.
  • 9.
    6 REASONS WHYYII 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 whileYii 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.
  • 10.
    6 REASONS WHYYII 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 andYii spits out all the required JavaScript, HTML and CSS code. 5. Translations. Creating multilingual websites inYii 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.