Yii is an open source, object-oriented, component-based MVC PHP web application framework. Yii is pronounced as “Yee” or [ji:] and in Chinese it means “simple and evolutionary” and it can be an acronym for “Yes It Is!”. Is it fast? Yes It Is! Is it simple? Yes It Is! Is it scalable? Yes It Is!
The Yii Framework is at the heart of all our recommendations thus a huge number of our projects are built on top of this powerful framework. Yii has proven to be efficient in all types of applications – from VOD platforms to portals to business systems.
True, there is a simpler framework – CodeIgniter. It is very fast and a convenient tool too, for the beginners, in particular (there is plenty of documentation). But our experience has shown a very interesting pattern – solutions of many tasks in CodeIgniter takes much more time, than solution of the same tasks in Yii. There was no task, that has been solved faster in CodeIgniter.
True, there is a more famous Zend framework. It has lots of various modules (almost for all use cases), very elaborate architecture. But it is essentially slower, bigger, “heavier” than Yii. It suffers from some kind of “verbiage” – long class names, for example. What I mean is that it looks “heavy” even visually.
But if you need, you can use modules from Zend Framework, working in Yii.
So here are the main reasons why our programmers use Yii.
Yii is a very fast, modern and flexible framework. It has many pluses:
– rapid development
– high speed of work
– module, components and widgets support
– can be used with multiple databases: it can be used either as Data Access Objects, or as Active Record
– convenient and flexible caching system and system of cache validating, memcached/xCache support
– handy built-in code generator Gii
Nowadays, there are many PHP frameworks, and every developer decides for himself, which framework to use or not to use at all according to the task at hand. Our programmers have marked out Yii pluses, though at the same time it doesn’t mean, that other frameworks are not useful at all.
Which PHP framework do you use or prefer? Leave a comment below telling us which and why you prefer it.