CakePHP: Configuring Apache

Feb 27

CakePHP: Configuring Apache

CakePHP: Configuring Apache

There is some tweaking that we need to perform in order to make sure that Apache runs CakePHP applications smoothly. Many Apache installations may not require the following tweaking, as they might be set as default, but it is always a good idea to check if the following settings are present.

Read More

CakePHP: Understanding the MVC Pattern

Feb 19

CakePHP: Understanding the MVC Pattern

CakePHP: Understanding the MVC Pattern

The MVC (Model View Controller) pattern is a commonly used design pattern in software development, where the code is separated into three major parts: models, views, and controllers. The exact purpose of each part depends on the implementation, as it may vary from one framework to another. Here, we are going to describe the way CakePHP implements the MVC pattern. So, this is not a general discussion on MVC pattern, rather we are only going to see Cake’s own MVC implementation. As we have already mentioned, CakePHP separates the code into three separate parts: models, views, and controllers.

Read More

What is CakePHP?

Feb 17

What is CakePHP?

What is CakePHP?

What is CakePHP?

According to the official CakePHP website (http://cakephp.org):
“Cake is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.”
Someone who is new to frameworks might not understand parts of the definition. But understanding a few key terms will make the job much easier.

Read More

Magento: How To Setup / integrate Google Adwords Conversion Tracking?

Feb 12

Magento: How To Setup Google Adwords Conversion Tracking

Magento: How To Setup Google Adwords Conversion Tracking

Setting up Google Adwords Conversion Tracking on your Magento Community store is relatively easy – but it’s not a built-in Magento feature, so you’ll have to edit a template file. Here are the 4 simple steps that need to be done:

Read More

PHP: Load Time Script

Feb 10

PHP: Load Time

Load Time


This one is a must for developers and system admins. You need to know how long your site takes to load. Nobody sticks around waiting for a site to load anymore – there’s way too much content out there for that. Use this script to find out if your site is taking too long, and if it is, fix it.

Read More

CSS: Tucked Corners CSS3

Feb 03

Tucked Corners CSS3

Tucked Corners CSS3


This CSS code will give you the cool ‘tucked corners’ effect that is used on the Gravatar home page.

Read More

CSS: How to Create Multiple Borders in CSS3

Feb 03

CSS: How to Create Multiple Borders in CSS3

CSS: How to Create Multiple Borders in CSS3


A cool technique using the box-shadow property that allows you to create multiple borders around an object.

box-shadow:
    0 0 0 2px #000,
    0 0 0 3px #999,
    0 0 0 9px #fa0,
    0 0 0 10px #666,
    0 0 0 16px #fd0,
    0 0 0 18px #000;
Read More