Re: Structures_DataGrid Data Sources

From: Date: Mon, 23 Aug 2004 14:02:10 +0000
Subject: Re: Structures_DataGrid Data Sources
References: 1 2 3  Groups: php.pear.dev php.pear.dev 
Request: Send a blank email to pear-dev+get-32853@lists.php.net to get a copy of this message
Justin Patrin wrote:
I haven't looked much at the source yet, but I would like to see FB used for the DO forms. Of course, I'm a maintainer, so I'm biased. ;-) We could also add a generic form renderer using HTML_QuickForm and pulling columns and such from the DataSource. Ideally, DataGrid could use one package, similar to FormBuilder, to do all its form generation. It would pull data and meta-data from the sources through defined methods and display everything the same way. Of course, we don't have such a package. I would say we should have a "default" simple renderer and a DO specific renderer. Perhaps the DO one could be chosen automatically somehow, but we could easily make it a user's choice.
Well considering the goal of the data driver is to remove the actual data source layer. Once you have binded your data source, we no longer know what type of data source you used. At this point we need to have a formbuilder that will build forms for any data source type, not just DOs. But don't worry, thanks to Olivier, we are loading all of the fb options from a DO into the datagrid, so we won't loose that functionality. The consensus thus far seems to be for HTML_QuickForm. Andrew

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