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?

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.

Tags:

A pattern for Yii Events Handling-Object listens to itself

On 

In this post, we will discuss a pattern for handling generated events by event generators themselves.

Tags:

How Event System works in Yii

On 

Sometimes we would like to monitor when something special occurs in our web application. It could be when a user withdraws certain amount of money from their account or when we save an instance of a model.

Tags:

How to add a javaScript widget to your Yii application

On 

How many times have you seen a JavaScript widget that you wished you could integrate into your application? Integrating JavaScript widgets into Yii is very simple. In this post, I will share with you how you can do that easily.

Tags:

StateGridColumn-A custom widget to display a model’s state in a CGridView

On 

StateGridColumn is a widget that extends the CGridColumn to provide a customised way to represent a model’s property state. This post will show how we can extend Yii’s CGridColumn.

Tags:

What is CGridView

On 

The CGridView is one of the most important widget that any Yii developer must be familiar with and able to customize. It is a versatile and well thought out designed widget. It mimics the Html table in a programmatic way.

Tags:

Understanding Yii CApplication

On 

One of the basic characteristics of Yii modules is that they cannot be deployed alone. In order to have your web application work, one needs a central module that can process all request, and relay the information to other modules when necessary.

Tags:

Yii Fundamentals-Understanding how Yii applications work

On 

The way you see Yii framework will fundamentally shape how you understand and work with Yii. Yii implements the model-view-controller pattern which most frameworks have adopted. It is designed from the ground up to be modular.

Tags: