
Yii Framework
Get flash to fully experience Pearltrees
Yii Tutorials
Auth
Yii Session Handling
Yii Testing
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
View
Controller
Yii Extentions
Yii Events & Behaviors
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.

