News Feed
Sections




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

Joshua Eichorn's Blog:
ZActiveRecord can't work?
January 10, 2006 @ 07:22:55

On his blog today, Joshua Eichorn has a look at the ZActiveRecord functionality that was shown off in the Zend Framework Webcast - and how it might now work as planned.

In the webcast the following active record example was shown. This looks nice and slick but I don't see how its possible, at least in php 5.1. There is no way to get the class name of the child in in the find all method.

Anyone have a clue on how Zend is planning to get around this problem. From what I can tell its impossible and I haven't seen anything on 5.1.2dev that would solve the problem but I could just be missing something and there is an easy way around the problem. To me it looks like PHP forces you to do a none static activerecord implmentation.

There are a few updates to his post and some comments with more to say on the topic - including pointing out that it's more of a PHP bug than just a ZActiveRecord issue...

0 comments voice your opinion now!
zactiverecord zend framework webcast class name of child zactiverecord zend framework webcast class name of child


blog comments powered by Disqus

Similar Posts

Lukas Smith\'s Blog: Zend chooses to ignore the questions

Inside DealTaker Blog: Kohana PHP 3.0 (KO3) Tutorial Part 1

SitePoint PHP Blog: The next hot PHP app you install might be IBM's

Jim Plush\'s Blog: MyBic AJAX/PHP framework in top 1% of SourceForge projects in 4 days!

DevShed: The Basics of Abstract Factory Classes in PHP 5


Community Events





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


framework community development application language code list release tips deployment laravel developer version conference zendserver introduction series podcast api interview

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