Re: Structures_DataGrid question - do I need to use DB_DataObject?
| From: | Olivier Guilyardi | Date: | Thu, 17 Nov 2005 15:46:46 +0000 |
| Subject: | Re: Structures_DataGrid question - do I need to use DB_DataObject? | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21968@lists.php.net to get a copy of this message | ||
Mark Wiesemann wrote:
> Olivier Guilyardi wrote:
>
>>You can provide custom Model classes (DataSources), and when req #5859 is over
>>you should be able to provide custom View classes (Rendererers).
>
>
> Actually, one can already use custom renderers, but not as comfortable
> as it could be after a refactoring.
IMHO it's not only a matter of comfort. Just read the current renderers : to
write your own one, you need to know Structures_DataGrid as we developers do.
We can't ask a user to have such knowledge.
When I think how easy it could be to write a renderer with a properly designed
interface, this refactoring appears to me as a real necessity.
Now, the work need still needs to be done ;-) One thing I'm not sure about :
should we fork the CVS ? Or just go ahead in the main branch ?
Andrew ?
Btw, if anybody on this list has valuable thoughts on bug #5859, just go and
drop your comments :
http://pear.php.net/bugs/bug.php?id=5859
--
og