At 11:27 PM -0800 21/3/02, Jim Helm wrote: >Looks like CGI::FormBuilder/Template::Toolkit combined with >DBIx::Recordset is probably my best bet.
Getting more off topic now, but thought I'd mention about FormBuilder... I find CGI::FormBuilder really useful and have come to prefer it to use CGI methods or HTML code directly. To use it effectively in Apache::ASP several settings are useful: javascript => 0, header => 0, Although the javascript one can sometimes be useful, I found it made life more difficult than it was worth. Also, with multistage forms (e.g. purchaser details on page 1, product details page 2, card details page 3 etc) I came up with a few tricks which I can post if anyone is interested. Most of the time I used FormBuilder's inbuilt $form->render() method because it was easier than doing a template; it dawned on me that it would make sense to add another template method for FormBuilder, something like: $form->render( ASPInclude => 'inc_user_details.asp' ) or whatever, and instead of HTML::Template variables, CGI::FormBuilder could just supply a hashref to the include file allowing stuff like: [inc_user_details.asp] <p>User Name: <%= $cgiform->{'field_user_name'} %> etc This isn't existing functionality in FormBuilder, but if anyone else thinks its a worthy idea it could be recommended to the author. Ellers > >-----Original Message----- >From: Joshua Chamas [mailto:[EMAIL PROTECTED]] >Sent: Thursday, March 21, 2002 6:08 PM >To: Jim Helm >Cc: [EMAIL PROTECTED] >Subject: Re: OT: (slightly) RAD RDBMS tools for perl/Apache::ASP > > >Jim Helm wrote: >> >> This isn't specific to Apache:ASP, but I've seen a lot of good advice >> here, and hopefully someone has already been through this. >> >> I was just wondering if anyone had used/knows of anything for perl >> similar to phpLens. I haven't actually used it, but it looks pretty >> impressive. I'd prefer to stick with perl, though. I've searched >> through CPAN, and on google, and haven't found anything obviously like > >> phpLens for perl, but there's a lot out there and I may have just >> missed it. The closest I think I've seen so far is DBIx::HTMLView, >> but it's only for mySQL and mSQL (needs some extra coding for other >> DBD drivers - I think). >> > >I have always rolled by own application by application, but my >apps have always had to be pretty tight to the database for >high performance with mixed OLAP/OLTP environments. > >If you feel that RAD does not have to be GUI RAD, I might look at these: > > CGI::FormBuilder ( promises 4x code reduction ) > DBIx::XHTML_Table > >If you want something closer do the database, and don't mind doing your >own HTML, check out: > > DBIx::Recordset > Alzabo > >They at least abstract DBI slightly away from you. > >> all the bells and whistles of phpLens - though they would be nice. >> And I need to be able to make updates - simply displaying data is >> fairly trivial, and I wouldn't need to ask for tools to do that - they > >> are a > >phpLens looks nice. You you want something that is more of a CMS in >perl, you can try Bricolage or Mason: > > http://bricolage.thepirtgroup.com/ > http://www.masonhq.com/ > >Sorry, I don't think any of these quite hit it on the head for you, but >I thought I'd try! Best of luck, and if you find anything interesting >please share it with the rest of us, as it seems to be a fairly common >problem. Also, you might try the mod_perl list & I am sure you will get >some opinions :) > >--Josh _________________________________________________________________ >Joshua Chamas Chamas Enterprises Inc. >NodeWorks Founder Huntington Beach, CA USA >http://www.nodeworks.com 1-714-625-4051 > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]