Tip: Obtaining Request Parameters in Zend_View

I found it virtually impossible to obtain GET or POST request parameters in Zend_View without resorting to accessing the $_GET or $_POST variables. Directly accessing these variables within Zend_View is bad practice so it’s been suppressed on purpose to keep processing where it should be – within the Controller. However it is possible to get […]

Banana Apple Orange?

Which do you prefer? maybe all? maybe none? It’s totally up to you and down to individual preference. The same could be said for Web Frameworks. This choice has come at a time when I am deciding on a Web Framework to use for a number of projects. So this post should hopefully put some […]

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 […]