RE: [PEAR-DEV] pearifying metabase: preparing phase 2

From: Date: Tue, 05 Feb 2002 12:49:49 +0000
Subject: RE: [PEAR-DEV] pearifying metabase: preparing phase 2
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4538@lists.php.net to get a copy of this message
On Tue, 2002-02-05 at 10:58, Lukas Smith wrote: > > I don't think you need to worry about that now. I have a better > > solution coming up in PHP 4.2: aggregate(). This is a new function > that > > lets you import methods from another class into an existing object. > > This means we can simplify the architecture by having DB_connection > and > > DB_result objects importing backend-specific stuff on demand. This > will > > speed up simple calls a great deal (since there is less code to be > > loaded always), and should reduce the result call overhead by > > eleminating one layer of calls. > > Very interesting indeed ... > Would such be the solution to our modularization problem? > So that we can load functionality on demand? > For example that the LOB stuff is only loaded when needed automatically > by the db abstraction layer? Yes, this is exactly my motivation for having this functionality. If it's ok by Andrei, I'll commit it to php4 pretty soon. > I want to keep backwards compatibility to older php versions but this > feature sounds really usefull. > > Anyways I have a lot of work ahead of me this week but I really want to > have something by the end of the week that does proof that we are not > completely nuts for attempting this merger :-) > > I will see how much I will be abl to finish, but I will focus on merging > the structure not not so much on the details. > > Thx, for all the feedback. Okay good luck. I promise not to distract you further until you're done ;-) - Stig

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