Re: Is Pear RADy ?
| From: | Justin Patrin | Date: | Mon, 19 Jul 2004 03:46:04 +0000 |
| Subject: | Re: Is Pear RADy ? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13740@lists.php.net to get a copy of this message | ||
On Mon, 19 Jul 2004 03:12:47 +0200, Olivier Guilyardi <ml@xung.org> wrote:
> Hi,
>
> I'm starting to develop a business (CRM-like, very database centric)
> application for a customer's Intranet, and I'm exploring Pear. I've
> coded in PHP for years, already did that kind of stuff, but until now I
> was avoiding Pear, because I found its OO'ness exagerated.
>
> But well, honestly, Pear offers pretty nice components :) which I'm
> trying to integrate in a RAD-like development methodology (or laziness,
> call it what you want ;). I'm currently experiencing with :
> DataObject_Formbuilder, DB_Pager, Pager, HTML_Table.
>
> The first RAD-unfriendliness that jumps to my eyes is this :
>
> Pager does not generate HTML. I've had enough of HTML ;) What I
> basically need is a bundle class, which I'd give a SQL query (or table
> name along with properties, whatever), and this class would turn that
> into paginated HTML output.
>
> A similar functionality is already achieved for forms by
> DataObject_Formbuilder. It seems the paging equivalent would be a mix of
> DB_Pager and Pager, the later being extended with an HTML output
> feature, which HTML_Table could help to implement.
>
> Or did I miss something, is what I need available in Pear ? Pointers ?
>
Well, I made a package which isn't actually in PEAR at the moment, but
it is developed as if it was. I haven't worked on it in some time, but
it still has the ground-work for a DB data editing app. It's based on
DB_DataObject_FormBuilder and some Horizontal form renderers I cooked
up for HTML_QuickForm.
http://www.reversefold.com/PEAR/DB_DataObject_FormBuilder_Frontend/src/
Right now, it's mostly its own stand-alone package, but the pieces are
meant to be easily seperated from the app. If you're interested, I
wouldn't mind working with you on making it better.
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--