Yii Session Handling
Yii Error Handling
Yii Database DAO
Yii MVC Yii implements the model-view-controller (MVC) design pattern, which is widely adopted in Web programming. MVC aims to separate business logic from user interface considerations, so that developers can more easily change each part without affecting the other. In MVC, the model represents the information (the data) and the business rules; the view contains elements of the user interface such as text, form inputs; and the controller manages the communication between the model and the view. Besides implementing MVC, Yii also introduces a front-controller, called Application, which encapsulates the execution context for the processing of a request. Application collects some information about a user request and then dispatches it to an appropriate controller for further handling.
Yii Data Modeling
Yii Events & Behaviors
Yii favors conventions over configurations. Follow the conventions and one can create sophisticated Yii applications without writing and managing complex configurations. Of course, Yii can still be customized in nearly every aspect with configurations when needed. Conventions
Application The application object encapsulates the execution context within which a request is processed. Its main task is to collect some basic information about the request, and dispatch it to an appropriate controller for further processing. It also serves as the central place for keeping application-level configuration settings.
Look up a class, method, property or event CApplication is the base class for all application classes. An application serves as the global context that the user request is being processed. It manages a set of application components that provide specific functionalities to the whole application. CApplication
Look up a class, method, property or event CComponent is the base class for all components. CComponent implements the protocol of defining, using properties and events. A property is defined by a getter method, and/or a setter method. CComponent
Yii Class Reference
YiiBase Look up a class, method, property or event YiiBase is a helper class serving common framework functionalities. Do not use YiiBase directly. Instead, use its child class Yii where you can customize methods of YiiBase.
Yii is a popular framework with a vibrant and active community. Below are some additional resources contributed by our community members that you may find useful. Cheat Sheets The Yii cheat sheet, created by Sebastián Thierer. This presents commonly used Yii classes, methods and properties in a single printable sheet. Resources
yii-1.0-cheatsheet.pdf (application/pdf Object)