Blogging CMS

Posted by & filed under PHP CMS, WordPress.

Blog CMS

We are running a Choose CMS series to identify the features of various categories of PHP CMS. As is evident from the title of series, the target is to choose the right CMS that suits our requirements. The first post of the series talks the qualities of a good CMS and identifies different genres of… Read more »

PHP 5.4 – built-in web-server, closures, callable and other new features

Posted by & filed under News & Concepts, PHP.

PHP 5.4 – built-in web-server, closures, callable and other new features

I am taking too long to close the New in PHP 5.4 series. PHP 5.4.3 is already released on 8th May 2012!!! Looking back, we are already familiar with the improvements in session handling, array syntax dereferencing and introduction of traits in PHP. Traits is an alternative approach for multiple inheritance. In another post, we… Read more »

Adjusting content with the Overflow property of CSS

Posted by & filed under CSS, HTML.

CSS Overflow Property

On an HTML page, there are two types of container elements, i.e. block and Inline elements. In our article about the two types of HTML container elements, we noticed that both are essentially rectangular boxes. These container elements contain other HTML or text. The behaviour and position of the containers can be controlled by the… Read more »

Configuring Session in Yii Framework –CCacheHttpSession

Posted by & filed under Yii.

configuring session in Yii framework

Yii framework has three different possibilities for configuring the session. In the Yii Session series, we are already familiar with the session configuration by using the regular server side session and the database based session handling. This is the last article of the series and it talks about the session handling by using cache as… Read more »

Yii Framework – Scenarios for Conditional Multiple Validation Rules

Posted by & filed under Yii.

Validation scenarios in Yii framework

I am yet to write the last article of the Yii Session series. I just decided to write something about the scenarios in the Validation feature of Yii framework. Scenarios are a very useful tool for adding different validations rules for different cases on the same model. In a real life situation, you would require… Read more »

Overloading – The PHP Way

Posted by & filed under Advanced PHP, OOPS.

Overloading in PHP

In terms of regular OOPS concept, Overloading means the ability to have multiple methods having same signatures but with different number and/or type of arguments. However, PHP’s interpretation of overloading is different than other Object Oriented languages like Java. In PHP, overloading is the ability to add properties and methods at the runtime. This is… Read more »