Re: Re: Driver Interface and protected properties

From: Date: Wed, 15 Mar 2006 16:33:58 +0000
Subject: Re: Re: Driver Interface and protected properties
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41799@lists.php.net to get a copy of this message
Hi Mark, Mark Wiesemann wrote: > Hi Olivier, > > Olivier Guilyardi wrote: > [...] > >> If we need to change something in the core renderer layer we may then >> cause BC breaks for such users, exactly as what's happening with the >> SDG::renderer property. For now SDG is beta, but think of tomorrow >> when it will be stable. We may have a great idea, but these >> properties may forbid us to code it, because they'll put heavy BC >> constraints on us. > > [...] > >> The alternative I'm thinking about is simply to let the driver call >> some protected methods in order to get what it needs, and to make a >> better use of the arguments that are passed to the protected methods >> which are part of the driver interface. > > > To keep this answer short: > Let's do it the way you proposed it (methods instead of direct access to > properties) -- although I like the direct property access better, your > BC keeping argument is even better. I just hoped that I could get pear developers point of view on this issue, but I suppose that everybody's busy out there... -- og

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