Revisiting: Why Every Developer Should Write Their Own Framework

Monday, May 24th, 2010

In November of 2009, I wrote about why developers should write their own frameworks. I pointed out at the time that often developing a framework forces developers to make the kinds of architectural choices that frameworks require, which helps them better understand the architectural choices in the most popular frameworks.

7:00 am | Comment (8) | Print | Categories: Object-Oriented Development, Open Source, Zend Framework

A Lesson In Static Methods And Late Static Binding

Monday, April 12th, 2010

Until last week, I had never experienced what must have been incredibly frustrating to most developers: the fact that the self keyword in PHP refers to the class it is located in, and not necessarily a class that extends it. I personally ran into this problem when trying to extend Zend_Auth. Being a singleton, the [...]

7:00 am | Comment (4) | Print | Categories: Object-Oriented Development, PHP 5, Zend Framework

Caching For Efficiency With Zend Framework

Monday, April 5th, 2010

One of the things I’m always looking for is ways to improve performance with the applications I write. While a few applications are write-heavy, most are read-heavy: that is, reading the database is the predominant behavior (for example, this WordPress blog reads the database far more often than it writes to the database). Additionally, Zend [...]

7:00 am | Comment (15) | Print | Categories: Zend Framework

Controlling Access: Zend_Navigation and Zend_Acl

Friday, April 2nd, 2010

In the last two entries, we examined creating a navigation structure with Zend_Navigation, and then we examined using that structure with the Zend Navigation View Helper. In both discussions, we focused on creating navigation items and menus, and inherently these items were available to all users regardless of access controls. But what happens when you [...]

7:00 am | Comment (5) | Print | Categories: Zend Framework

Making Zend_Navigation Useful

Wednesday, March 31st, 2010

In the last blog post, we discussed creating Zend_Navigation pages and containers. This is certainly wonderful and exciting, but the reality is that for the most part, Zend_Navigation is a pretty useless component of Zend Framework until you have a way to get the data out of the structure you’ve built. And since navigation is [...]

7:00 am | Comment (4) | Print | Categories: Web Design, Zend Framework
« Older Entries
Search:
Copyright © 2008 - 2010. All Rights Reserved.