How to add a javaScript widget to your Yii application-Part 2

On 

It is not enough to learn the theory behind turning a JavaScript ui into a Yii widget. This post will provide practical example of turning the NicEdit into a Yii widget. Read

Tags:

Understanding Yii CConsoleApplication

On 

There are certain tasks which can be better performed offline or using the console rather than using and online Web application. It is particularly tedious and time consuming when you use the web interface to do such task. Each request will have to download css, JavaScript files and you need to design a user interface to work with. Read

Tags:

Understanding Yii CWebApplication

On 

CApplication. It is the object behind Yii framework. It provides the functionalities needed to respond to a web request and it is the class responsible for the handling the MVC pattern in Yii. Read

Tags:

How do you create your own event object?

On 

An event object encapsulates the information about the event. For a mouse click, it could provide the button (left or right) which was clicked. The type of information this object carries vary according to how it is implemented. How do you create your own event object? Read

Tags:

A pattern for Yii Events Handling-Other Object listens to the event

On 

For a given web request, there could be many events which could occur on an object. If the object must respond to multiple events, then these events become unmanageable and encapsulate too much in one place that should probably be separated. Read

Tags: