RE: [PEAR-DEV] Class Proposal DB_Grid

From: Date: Thu, 19 Sep 2002 13:24:41 +0000
Subject: RE: [PEAR-DEV] Class Proposal DB_Grid
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-9205@lists.php.net to get a copy of this message
I think soemthing like that would also be what I need for a knowledge database module. The idea would be to have the user define what data he wants to store (number of fields, field name and field type, range of the allowed values, default values) and then the interface for adding, editing and searching is automatically generated on demand. But I think it makes the most sense to store the metadata about range etc in a table. This could also be nice in combination with liveuser allowing the creator of a knowledge database to specify who may read/write what fields etc. Regards, Lukas > -----Original Message----- > From: Markus Wolff [mailto:wolff@21st.de] > Sent: Thursday, September 19, 2002 3:17 PM > To: Yavor Shahpasov > Cc: pear-dev@lists.php.net > Subject: Re: [PEAR-DEV] Class Proposal DB_Grid > > Am Thu, 19 Sep 2002 16:09:36 +0300 schrieb "Yavor Shahpasov" > <yavo@nicosia.com.cy>: > > > I was thinking about a class to provide dynamic binding betwin a > database > > (table or sql) and a table (html or plain text). > > Hi Yavor, > > I´ve proposed almost exactly the same thing some months ago and didn´t > get much feedback on it, so I´m interested to see if you will have more > luck :-) > > I´d really like to see such a class in PEAR and I´ve written one myself > that matches your feature set, except that it can also take care of > paging the data, and works with IntegratedTemplate, so it doesn´t matter > if the output is text, HTML, XML or whatever else. > > Much of the field information is drawn out of DB´s tableInfo(), but you > can always override any individual field setting, because each column is > represented by an object of a column class that can be configured > individually. The column class supports some standard formatting types > for the data, and can also use a user-defined callback method if you > need something special. > > I was planning to add the possibility for inline editing of table rows, > but that will take a while as I don´t have time to develop it any > further ATM. > > I am very interested in seeing your approach. > > Regards, > Markus > > -- > *21st Media* | Consulting, Konzeption, Produktion für die Bereiche: > Markus Wolff | Internet, Intranet, eCommerce, Content Management, > Hamburg,Germany | Softwareentwicklung, 3D-Animation, Videostreaming > http://21st.de | Tel. [+49](0)40/6887949-0, Fax: > [+49](0)40/6887949-1 > > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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