Chalk up another vote for HTML::Template. Works equally well with CGI and mod_perl, since it's only involved in the content delivery phase. It doesn't give you all the bells and whistles of the other frameworks; then again, it's a single perl module that you can install yourself on any server that lets you run perl CGI scripts. There are may ways to handle your own access/authorization control and logging in a CGI environment, and with a little thought and planning you should be able to come up with something that you can convert easily to mod_perl when the time comes.

I'm using HTML::Template right now, and I recently found out for real just how nice it is to separate the design from the code when a designer gave the application I'm working on a facelift. I didn't have to change a single line of my code. She didn't have to learn anything about perl. I didn't have to stop working on my stuff while she made changes. In fact, I didn't even know she was doing it until she plopped the new templates in place and the pages appeared with the new design!


In reply to Re: Web framework under both mod_perl and CGI by Cubes
in thread Web framework under both mod_perl and CGI by marvi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.