I am a Perl biggot. It's the only language I really use currently and I love it. At work I am doing a lot of things involving system monitoring using Perl programs. These programs extract information and produce XML documents which are then used to populate various MySQL tables. These tables are then presented as reports from a web portal using mainly cgi scripts written in Perl.

Some of the things I am doing involve presenting Web UIs for updating additional MySQL tables. Doing this with cgi type scripts tends to seem harder than it should be. I have prototyped various things using HTML::Mason and I like what I see (i.e. templating, ease of wrapping authentication/authorization around views, embedding perl, etc). I have some colleagues that are kicking off a similar portal project using the Apache Jakarta Struts framework.

My questions are: Should I consider using Struts for my presentation layer instead? Am I going to be disappointed? Anyone have experiece doing both? I don't mind learning Java so that's not an issue. I can still use Perl to gather monitoring data (i.e. to populate my domain model) so that's not going to be an issue either. It's not really an issue of Java vs. Perl but which is better for writing a portal (presentation layer), Struts (or another framework) or HTML::Mason.

Thanks for reading.

In reply to Java Web Frameworks (e.g. Jakarta Struts) vs. Perl's HTML::Mason by braswell

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.