You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vincent Stoessel <vi...@xaymaca.com> on 2002/09/19 19:03:08 UTC
CURD/CRUD: a better way?
Hello All,
I am here create my umpteenth form to interface with a db
that I will be selecting, updating , inserting , deleting from.
To save time I usually combine the insert/update form and make
separate delete and search (select) screens.
What I was wondering if some angel out there has created
an application, bean, or applet that can generate an html form for you
based on the metainfo of an sql table.
Doesn't have to be fancy looking, just working.
this seems to be a common need for me at least. How are the smarts
developers reducing time of this tedious task?
Thanks.
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com
Re: CURD/CRUD: a better way?
Posted by "Peter A. J. Pilgrim" <pe...@xenonsoft.demon.co.uk>.
> Vincent Stoessel wrote:
>
>> Hello All,
>> I am here create my umpteenth form to interface with a db
>> that I will be selecting, updating , inserting , deleting from.
>> To save time I usually combine the insert/update form and make
>> separate delete and search (select) screens.
>> What I was wondering if some angel out there has created
>> an application, bean, or applet that can generate an html form for
>> you based on the metainfo of an sql table.
>> Doesn't have to be fancy looking, just working.
>> this seems to be a common need for me at least. How are the smarts
>> developers reducing time of this tedious task?
>>
Expresso Framework http://www.jcorporate.com/
implements CRUD a la in Grand's book "Java Enterprise Pattern" Wiley 2001
--
Peter Pilgrim +-----\ +-++----++----+
Java Technologist | | | || || | 'n' Shine
| O | | || --+| ---+
/\ | ._ / | | \ \ | |
/ \ | | \ \ | |+-- || ---+ A new day
/_ _\ "Up" | | | | | || || | is coming
|| +-+ +-+ +-++----++----+
<home page="http://www.xenonsoft.demon.co.uk/" />
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: CURD/CRUD: a better way?
Posted by "V. Cekvenich" <vi...@users.sourceforge.net>.
Search mail archives, there are several code generators and some in
Struts resources page.
V.
(I have tried a few generates, some are xsl based and sql reverse tool
could do it. My approach now is to hand code like this, I found it
faster: write JSP based on HTML prototype; write a bean based on JSP
fields, and write a SQL Select string only in DAO based on bean fields.
Unit test bean outside webApp/Struts for CRUD. My DAO using reflection
and rowset metadata automaticaly does CRUD Updates, Inserts, Deletes.
Code on basicPortal.sf.net).
Vincent Stoessel wrote:
> Hello All,
> I am here create my umpteenth form to interface with a db
> that I will be selecting, updating , inserting , deleting from.
> To save time I usually combine the insert/update form and make
> separate delete and search (select) screens.
> What I was wondering if some angel out there has created
> an application, bean, or applet that can generate an html form for you
> based on the metainfo of an sql table.
> Doesn't have to be fancy looking, just working.
> this seems to be a common need for me at least. How are the smarts
> developers reducing time of this tedious task?
>
> Thanks.
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>