Tuesday, March 25, 2014

The author of Yii is Xue Qiang, who was a core programmer for Prado. On 2008, he invented Yii. The first release of Yii is on 3.Dec.2008.


Yii now is one of the best PHP framework, which supports MVC, DAO/ActiveRecord,I18N/L10N, Caching, Ajax, Role-based Control, Recaptcha, Plugin, Module, Gii, Event, Theme and Web services and etc.

The core Yii framework is base on quite a few great frameworks:


Framework Idea Reference
Prado Module Based application framework, Event-driven, Database abstraction layer, globalize and localize and etc.
Ruby on Rails Configuration Ideas, Active Record base and ORM
JQuery JQuery integrated
Symfony Filter and Plugin
Joomla Module based design and Message translation

With this blog series, we will have a deeper view on the source code of Yii on the following topics:
  1. Module based system: analyze the module and event-driven  base class(CComponent); Analyze the working principle of Modulized system; Analyze how WebApp create Controller.
  2. System components: study Yii system components, including logging router component, url management component, error handler component, cache component, role-based access control component and etc.
  3. Controller Layer: study Action and Filter, and give a in-depth analyze on these components
  4. Module Layer: study the DAO layer, Metadata and Command Builder and ORM
  5. View Layer, study how view is rendered, widget and client script component.

1 comment: