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.
Posts related to all aspects of programming and programming languages
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.
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.
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.
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?
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.
In this post, we will discuss a pattern for handling generated events by event generators themselves.
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.
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.
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.
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.