Clean URLs with CakePHP and IIS

CakePHP works on IIS out of the box but it’s a pity the default setting is on querystring URLs. To serve clean URLs in CakePHP simply uncomment the following line in /app/config/core.php: define (‘BASE_URL’, env(‘SCRIPT_NAME’)); By doing this CakePHP will direct each page request to the base script (by default thats index.php) and take charge […]

Beginning CakePHP

I’m finally taking the plunge into CakePHP. The Rails-like Rapid Development architecture has allured me for some time. However, on starting I immediately came across trivial questions such as how do I create static pages? how do I create an Admin area? how do I send HTML emails? etc etc… I stumbled upon the 21 […]

Rails-like PHP Framework

There are two Rails-like PHP frameworks gaining momentum and amounting a zealous following, both of which have recently gone stable.Symfony and CakePHP, written in pure PHP follow the same MVC (Model, View, Constroller) architecture found on Rails. They’ve gone at lengths to make it easy and intuitive to use and provide scaffolding tools, buit-in AJAX […]