Re: Proposal - HTML_DataGrid - Again

From: Date: Wed, 04 Feb 2004 16:09:24 +0000
Subject: Re: Proposal - HTML_DataGrid - Again
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-25496@lists.php.net to get a copy of this message
Andrew S. Nagy wrote:
Andrew Nagy schrieb:
The data is handled by a record object as well as a column
     
object. I have
added a bind method to make adding a recordset quick and dirty;
     
however you
still need to define your columns, I would like to change fix this soon.
     
Hi Andrew, you're getting there :-) What I'd do is not have a single RecordSet class but one special recordset class for every type of datasource - it makes adding new
Good idea, I think I will replicate the concept behind the renderer for the record management. I wanted to expand the record class into a Collections manager, I think this might be the best way to do so.
Aside from arrays and DB_DataObjects I'd also allow PEAR::DB and MDB recordsets, which are quite common datasources as well, I'd say :-)
Defiantly a PEAR::DB_result object, but isn't an MDB result just an array? I don't have any experience with MDB, so I don't know to much about it. Could you or anyone else imagine any other types of datasets? XML?
Jeroen

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