On Mon, Oct 15, 2007 at 01:45:44PM -0500, Peter Karman wrote:
>
>
> On 07/15/2007 11:37 PM, Cees Hek wrote:
> > On 7/11/07, mla <[EMAIL PROTECTED]> wrote:
> >> Do most of you use Rose::HTML::Form to validate
> >> user-supplied data before constructing RDBO your
> >> RDBO objects?
> >
> > I do for many of my apps.
> >
> >> Do you define the form constraints separately from
> >> the RDBO model constraints? Or is there a way to
> >> reuse one or the other?
> >
> > Currently yes. I have been meaning to merge these things though, so I
> > spent a bit of time investigating how easy it would be.
>
> I find myself needing to bootstrap a bunch of Rose-based apps. Ideally, I'd
> like to be able to run a script like:
>
> make_rose_garden.pl --db db_name --host some.where --prefix MyGarden
>
> and I would get RDBO .pm files, RHTMLO .pm files and some integrated
> validation
> glue, all generated for me under the MyGarden:: prefix. Then I could edit the
> form classes (or maybe even a .yml config file) to adjust the field labels.
> Maybe even some .tt stock templates to render my forms in a sane way. Maybe
> even a --catalyst option to generate the required ::Controller and ::Model
> classes for me.
>
> So I'm going to dive in and work on such a thing. In the Rose::DBx::Garden
> namespace.
Poke at
Catalyst::Helper
Module::Starter
App::Install
for prior art in this direction.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object