Yii, the new emerging framework for PHP
Jun 10th, 2009 | By admin | Category: PHPBeing redesigned and rebuilt based on success of Prado, a ASP.NET like framework, Yii inherits well designed core components and utilize flexibility of PHP.
Proven to be the fastest PHP framework, Yii helps its authors earn the second title (not official of course), beside their Prado fastest PHP web development framework.
I’ve been with Prado since 2006 and many websites build by my company are Prado based. Prado is a event driven, component based framework in which, everything should be wrapped as a component for reuse purpose, ease of usage, simple configuration and distribution.
However, share the common with many big names, Prado proved to be slow like Zend framework or Symfony. It’s also not easy for Prado to be widely used as its architect is very similar to ASP.NET, not the MVC model that PHP and Java developers be familiar with.
Yii is built with those lessons in mind (well, I guess
). Come back to MVC model, in general Yii is very similar to CodeIgniter or CakePHP. Yii Actions, Views and Controllers are almost the same but its also keep what are proven to be good in Prado, the component and controls.
A Yii control is called a widget clearly defined as a data presentation. For many MVC coders, this will help while programming and we can easily mix business processing and data presenting code together.
A Yii component is called an extension. Extensions are encapsulated so it is simple for coders to distribute their work among community.
With powerful core component for database management, form processing, extension and widget structure Yii empowers developers to develop mid-size web application. Yii 1.0.3 also come with module support so large scale web application can be divided into modules.

Funny you should write about Yii. I’ve been using it for 4 months now and I truly believe it’s the best php framework out there, after trying cakephp extensively, and playing around with CI and symphony I little bit. Very modular and very extensive, yet simple still where it needs to be.
Oops, NVM, thought this was a different blog, but it just happened to have the same layout
Hi,
Having experience with Ci and trying to learn more about the other php frameworks I can say tha Yii is pretty good and worth to try.
I’ve been using codeigniter for a few years, I am planning on looking at YII. I am not welcoming the learning curve but it looks very sane!
Jeff
For CodeIgniter and Prado programmers I can say that switching to Yii is pretty easy. On one side you have very similar folder structure and coding sequence. On other side, you have mapped classes such as TApplication – CApplication, THttpRequest – CHttpReuqest, etc.
One problem with Prado users is Prado use Prototype as JS framework. Although Prototype is clean and easy to write for OOP jQuery is still a better choice especially for experienced users. The reason is simple, Prado and Yii have UI components. With jQuery, I am quite sure that Yii will quickly increase the number of its UI components with help from community.
how about DooPHP ? It provides core features that other frameworks do and still leading as the fastest php framework.
Yeah Vickie, I had a look at DooPHP. Apparently, DooPHP leaves components and modules out of the sight for now. In Yii, components save your time by reusing the control you build and well tested in many place. Modules do the same thing considering reusing in many projects.
I also think that Doo’s ACL is suitable for simple rules. You may need some effort to do DB to acl.conf.php mapping so that administrative users can change the rule when your site on run.
For me Yii is the best…!!
It’s time to build some of the good features available in some frameworks straight into PHP. PHP 6 should be about high-level features. There are millions of sites using PHP and a database for user authentication. Why have thousands of user-authentication modules developed and maintained? One is enough. Even templating should be part of the language. The concept of views and layouts used by Yii seem to be the right way forward. I believe that pooling our efforts together rather than having hundreds of frameworks is the way to show that humans are smart and united. Otherwise, what will aliens think of us when they visit?