Re: dataobject

From: Date: Mon, 11 Oct 2004 13:57:22 +0000
Subject: Re: dataobject
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33775@lists.php.net to get a copy of this message
Greg Beaver wrote:
Lukas Smith wrote:
a) well I dont really see the benefit of php5 only (except for E_STRICT). with MDB2's flexibility in terms of wrapping result in arbitrary result sets you can support interfaces/iterators with no problem. Same with overloading. What doesnt work in php4 we cant fix obviously. So it goes.
I do - your error handling problems are solved. Just use exceptions and expect works perfectly via "expecting" a particular classname using catch. It would be very useful to have a php5-based mdb, methinks
Well in the long term I am definately going to explore a php5 only version. I guess the biggest problem is finding the time to justify a php5 only version. For my commercial work I dont think I will be using PHP5 before the 5.1 release which I expect sometime in spring 2005. I think the actual move then will not take too long to do at that point. I also hope that by then we have more experience with exceptions. I do plan to play a bit more with php5 exceptions but I am still unsure what will become of rapid prototyping with exceptions. I still dont see how I can retain the same level of speed in developing prototypes with exceptions. I do of course recognize the great potential they have for producing highly reliable final code. regards, Lukas

« previous php.pear.dev (#33775) next »