Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Well, one thing you might want to look at it support levels. Raphael Manfredi (author CGI::MxScreen ) seems to not have a lot of time to answer questions and he doesn't have a mailing list setup with anyone else who can help in his place. I don't always get answers back from him and certainly don't get them back quickly. For example long ago, I asked him: "what will MxScreen do when you have to hit a screen in the middle of the application cold? MxScreen seems to create a state machine of multi-screen page flow with the assumption that you start at the beginning and then always move either forwards or back from there... people like to bookmark URLs and return and the fact that mxscreen uses post data (i am reaching here, I have forgotten) makes this common task impossible.

Besides that, when you talk CGI::MxScreen and HTML::Mason you are talking two very different ends of the spectrum. With Mason, you embed your logic either in your HTML page or in a small perl-HTML "component" which you embed in your page. This is what is known as the "inline" approach. This tight-coupling of Perl and HTML would seem to make it difficult to change the look and feel of a website substantially without losing all of the associated logic. However, Mason advocates site industry-level success to the contrary.

Even so, however, an unavoidable shortcoming of the Inline approach is that it does not give the HTML designer WYSIWIG pages. Furthermore, it robs the power of re-use inherent in programs such as Dreamweaver from the designer and makes this a programming task. Thus for a web site company which places emphasis on visual fine-tuning of pages with close interaction between high-level management and user-experience engineers, the Inline solution will hamper such workflow.

On the other hand, the Inline solutions do offer you a "one-stop-shop" for any web application task you might want to handle - error handling, common-look-and feel, re-use, sessioning, logging, and caching all come right out of the box with either HTML::Mason or HTML::Embperl and both of these products have very active and very supportive and very large user bases. And, because both products have been in development for more than 3 years, they are both well-debugged and ready for critical system deployment.

A younger, but perhaps more open solution following the inline development work cycle is OpenInteract. Again, the support level is strong. This product is also a bit more open-ended. While supplying all of the same features as either of the above, it does so by building on major CPAN modules for each of its cornerstones. For example, instead of a proprietary templating solutin, OpenInteract uses Template Toolkit.

Turning to the "meta-html" solutions, with any of these, HTML page maintenance by non-programmers (HTML designers) is 100% and the solutions to templating are 100% non-invasive. The most mature product in this stable is HTML::Template. However, it's maturity has not led to a stabilization of feature set. Recently it added a small pseudo-language for expression processing HTML::Template::Expr and even more recently, it added a Just-In-Time compiler HTML::Template::Jit which compiles template to C language for 4x speed improvements. While the latter is just a performance improvement, the former is adding to the extra things you might have to learn when learning HTML::Template

HTML::Template also supplies a flexible set of caching options.

It has been around for at least 2-3 years as well and the base module HTML::Template is most likely completely bug free.

However, as the HTML::Template docs say, it only does one thing and does it well and fast. You will have to strap together from CPAN a system for the other aspects of web application development. You might choose CGI::Application for CGI page reuse (this module has some surprising hypocrisy in its design. It boasts that it is webserver and database server agnostic. Yet it is not agnostic with respect to templating system - it requires HTML::Template. to my mind, there is no need for a system for multi-modal page use to require a particular templating system. This, coupled with lack of return emails from the author make this a less-than-attractive solution for any part of an open system). You will need something for logging Apache::Session and so on and so forth.

The other recent entry into the meta-html templating world is my own HTML::Seamstress.

And then you have your frameworks which have support for XML - Apache::PageKit and AxKit.

And be sure to check my home node for what I believe to be a comprehensive list of web application frameworks.


In reply to Re: Web application frameworks / experience with CGI::MxScreen by princepawn
in thread Web application frameworks / experience with CGI::MxScreen by uwevoelker

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others scrutinizing the Monastery: (5)
    As of 2020-01-24 07:37 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Notices?