Re: want to find a way to abstract insert/delete/update table data using ONE form - does that describe what DB_DataObject can do?

From: Date: Fri, 19 Nov 2004 00:05:26 +0000
Subject: Re: want to find a way to abstract insert/delete/update table data using ONE form - does that describe what DB_DataObject can do?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15664@lists.php.net to get a copy of this message
On Thu, 18 Nov 2004 16:01:42 -0800 (PST), Stowe Spivey <spiveyspivey@yahoo.com> wrote: > I am still new to PEAR and would appreciate your help in identifying > the package that best suits my needs. > > For, what I consider, my fairly simple site with 9 db tables, I have > to write SO MANY update pages, delete confirmation pages, insert > pages. It is getting really old and I wonder if there's a better way > - a way where I can send a parameter in the query string telling the > receiving page what to do with the form data (ie., insert, update or > delete). > > I read a little about DB_DataObject and wonder if that would fit what > I want to accomplish. > > Your thoughts, advice and experience are much appreciated! > DB_DataObject would give you a simplified way to access the data, but it don't make forms for you. DB_DataObject_FormBuilder, however, will. It doesn't do "delete", but this is fairly easy to add. http://pear.php.net/package/DB_DataObject_FormBuilder In fact, if you just want a general purpose data viewer / editor / inserter / deleter, I wrote a package a little while back called DB_DataObject_FormBuilder_Frontend. http://www.reversefold.com/tikiwiki/tiki-index.php?page=DB_DataObject_FormBuilder_Frontend -- Justin Patrin

« previous php.pear.general (#15664) next »