Re: Driver Interface and protected properties

From: Date: Tue, 07 Mar 2006 22:54:32 +0000
Subject: Re: Driver Interface and protected properties
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41705@lists.php.net to get a copy of this message
Stab in the dark but maybe this is a templating question, Im working with some .NEt programming atm, i found this quite insane, all u need to do is put a datagrid tag placement with an id of the variable of the dataset and it generates the grid for u <asp:datagrid id="dg" runat="server" /> Id love to see this kind of functionality for dg :) Maybe it could be incorporated in the smarty and flexy renderer (waiting for the stable code next week to rework that). On 07/03/2006, at 11:11 PM, Olivier Guilyardi wrote:
Hi all, I am currently working on the SDG (renderer) driver interface refactoring (bug #5859). In SDG, users are allowed and encouraged to write their own specific drivers. That means : drivers are user-space code. In the new design, a base class calls a set of methods that drivers expose (the interface). All drivers are descendent of this base class. The base class also contains : - a very few protected methods that drivers may call for options setup, etc... - a bunch of protected properties that drivers read data and informations from Because drivers are considered user-space code, I am worried about these properties : do you think that all interactions between the base class and drivers should be method-based, and all properties made private ? Regards -- og -- PEAR Development Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


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