Webtatic.com

Just another technical blog

Archive for the ‘Web Development’ Category

Zend_Loader, the silent killer

Posted 9th February 2009 by Andy | 1 Comment

Update 1st May 2009: Good news, Zend Framework 1.8 defaults to no longer suppressing errors in loading classes (not sure how much of their library has been converted to use this though) A good article on the autoloader changes: http://devzone.zend.com/article/4525 Several times during website development, I have come across scripts which die without errors, so [...]

Zend_Form’s flaw in an MVC environment

Posted 19th April 2008 by Andy | 4 Comments

Zend_Form, the latest and greatest addition to the Zend Framework in version 1.5, is an infusion of the best bits of Zend_Filter_Input, and the Zend_View_Helper system. At first glance it looks like the ideal system for setting up from the simplest to the most complex forms, and this is how most people will see it. [...]

Zend_Cache_Frontend_Page flaws using HTTP codes

Posted 6th April 2008 by Andy | 1 Comment

In my attempts to create the most Digg resilient website, I decided there was only one thing for it, full page-based caching on the server. My first foray into this was trying to implement Zend’s Zend_Cache_Frontend_Page. However, I found a few show-stopping bugs in this, when involving browser-based cache HTTP status (304 Not Modified), and [...]

Hierarchical data access in MySQL using nested sets

Posted 1st April 2008 by Andy | No Comments

As you may know, MySQL is a relational database system. It consists of flat tables, which can be joined together in queries. Relations between these tables can only be specified in a way that is one-to-one/one-to-many. This suits most situations, but when you start getting to hierarchical data, such as multiple level categories (as used [...]