http://www.perlmonks.org?node_id=721444


in reply to Prettier Perl websites

I've got to build a web interface for a database in the coming months and will keep this in mind.
I've used CGI in the past but I can never make it look as nice as I like ( Me being crap not CGI ). I was even tempted to switch to a Java Applet for the coming project but this API may just persuaded me to stay with perl.

++
John,

Replies are listed 'Best First'.
Re^2: Prettier Perl websites
by LesleyB (Friar) on Nov 06, 2008 at 23:53 UTC

    I'm still at the CGI end at the moment. Want to move onto mod_perl soon though

    I've used CGI::FormBuilder combined with TT2 successfully. You could look at HTML::Template as well.

    I attempt to separate content from markup from style from processing and use stylesheets for style, TT2 to display content and markup and CGI::FormBuilder to specify and process the content where applicable.

    Not sure where that is in the MVC world - not sure I have got *there* yet - but I'll agree the mojolicious site has some prettiness to it. However, there is no reason why a site can't be pretty when the processing is done with Perl. After all, the styling is in the CSS not the CGI.

    I think it is more of an attitude about what a site *should* look like and also audience attitude. My first impression of mojolicious is that of dumbing-down - not saying the site does that by any means - just that is my first impression. That is my personal reaction to mojolicious genre of styling out there but then I came to interpret a different style of site as informative.