News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ivan Iordanov's Blog:
extending Zend_Db_Table to create NestedSet models
July 16, 2008 @ 11:17:19

Ivan Iordanov has posted a method he's come up with to extend the existing Zend_Db_Table functionality (of the Zend Framework) to create NestedSet models for your app.

Last days I've been trying to customize Zend's Framework. My goal is to create simpler models. Currently I'm making some db models that handle stuff around wide used designs. Such design is the Nested Set model. It is an adjacent list realized in SQL as a tree. You can find a good introduction to nested sets at mysql developer zone.

He steps through the creation of some example database tables, his class and controller to hook into the Zend Framework application and this full code for his interface class to make the NestedSet models easy.

1 comment voice your opinion now!
zenddbtable nestedset model zendframework tutorial


blog comments powered by Disqus

Similar Posts

The Bakery: Keeping bindModel and unbindModel out of your Controllers

Script-Tutorials.com: Phar - PHP archiving practice

David Coallier's Blog: Namespaces has PHP 5.3 (Or the other way around)

TechChorus Blog: Create RESTful Applications Using The Zend Framework

Padraic Brady's Blog: The Zend Framework and Microformats: Zend_Microformat Proposed


Community Events











Don't see your event here?
Let us know!


example code install language framework composer introduction package unittest podcast symfony2 application release component opinion security hack facebook series hhvm

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework