after reading your book i went to test your experimental example that you use in your presentations. I have downloaded and i´m trying to make it work to learn more about this design using zend framework but i´m stalled.
I have downloaded the code from http://framework.zend.com/svn/framework/extras/incubator/library/ZendX/Db/
I´m very new with Zend. I just follow a nice tutorial created by Rob Allen. After it i just jumped to your example.
here is how the code call on the fetchThreeByRoot
$rootId = 5 ;
I have created SQL tables in my sql following schema defined in your presentation : http://www.slideshare.net/billkarwin/models-for-hierarchical-data I have recreated sone dummy data to make it works.
But i get the following error:
Fatal error: Call to a member function describeTable() on a non-object in library\Zend\Db\Table\Abstract.php on line 835
My connectivy with DB seems to be ok as i have setup application.ini properly because i oculd follow properly Rob tutorial.
would you mind to provide some hints to find out why the example might be failing?