Action Delegates

There’s an interesting post over on the mrBurly blog about using action delegates to avoid having duplicate controllers.

One weekend after two years of working with the Zend Framework I threw together a basic application by perfecting one LIST/CRUD controller and then performing your standard copy/paste grepWin replace to create 4 others from it. I may have sensed a better way before that day, but on that day it was obvious that a better way existed. That “better” way in my opinion is the… Delegation Pattern

Definitely well worth having a read.

Posted by Rob on 3rd November 2009 under Around the web | Comments Off

Comments are closed.