On Monday 22 November 2010 18:41:50 shawn wilson wrote: > On Mon, Nov 22, 2010 at 10:59 AM, Robert Wohlfarth <rbwohlfa...@gmail.com>wrote: > > On Mon, Nov 22, 2010 at 9:02 AM, shawn wilson <ag4ve...@gmail.com> wrote: > > > any of y'all write web apps in perl? what do you use? i'm using > > > html::template but i was thinking of going back to straight cgi.pm or > > > having > > > my perl send back json for the page to render (but i'm not that > > > familiar with js). thoughts? > > > > Check out Catalyst (http://www.catalystframework.org/). It handles the > > drudgery without forcing you into one way of doing things. > > so, pretty much, catalyst seperates out your events (queries, layout, base > code) and mason gives a nice interface between html and perl? >
Yes. > any room for cgi::ajax in this or is that missing the point or replicating > functionality of mason? > Don't use CGI::Ajax. It is a minimalistic module for use primarily with CGI.pm and you probably should not be using CGI.pm. Catalyst has mechanisms to handle AJAX (as other people noted). > are there any good manuals or books that might help me here? (i like > examples more than theory) > First of all see: http://perl-begin.org/uses/web/ If you wish to learn about Catalyst, then there are plenty of resourrces mentioned on the Catalyst site - http://www.catalystframework.org/ - and the linked wiki and CPAN pages. There's a Catalyst-Manual distro on CPAN with a manual and a tutorial: http://search.cpan.org/dist/Catalyst-Manual/ In addition to Catalyst, you may wish to check out Dancer: http://perl-begin.org/uses/web/#dancer Regarding HTML-Template - I would strongly recommend against it. I don't like it and it has gone unmaintained for some time (though there are some active clones on CPAN). I much prefer Template-Toolkit , and there are other alternatives like ClearSilver or HTML-Mason. Also see: http://perl-begin.org/uses/text-generation/ Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish <rindolf> She's a hot chick. But she smokes. <go|dfish> She can smoke as long as she's smokin'. Please reply to list if it's a mailing list post. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/