Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • You might with to look at the differnences in your choices before proceding with Mason.

    This kind of thing can mean the difference in your quality of life down the road.

    Good Luck!

    • Consider my party unpooped. Friendly advice is always welcome. I would, however, like a little clarification.

      If you're implying that it's not wise to fall in love with a specific templating system, then consider that lesson taken -- I've already done work with HTML::Template, though it's not huge and advanced.

      If you're implying that something about Mason is obviously inferior, I have yet to come across it, and would like to know about it as quickly as possible. Please let me know what it is, if this

      --

      ------------------------------
      You are what you think.
      • I am a CGI::App user, but that is what works best for my needs, and they may not be the same as your's.

        qq{The callback model can get a bit hairy when you have to code logic that can result in totally different content being returned. For example, if you have a system that processes some form input and takes the user to different pages depending on the data submitted. In these situations, it's easy to end up coding a spaghetti of includes and redirects, or putting what are really multiple pages in the same file. ... Keep in mind, many systems offer significant flexibility for customizing their execution models. For example, Mason users could write separate components for application logic and display, letting the logic components choose which display component to run after fetching their data. This allows it to be used in a pipeline style. ... HTML::Template and some of the AxKit XML processors are fairly rigid about insisting on a pipeline approach.}

        I need a pipeline model, and I like to use a tool that confines me to the model, HTML::Template, with in a framework, CGI::App, that lets me break free of the confines to meet absurd deadlines. This separation in tools clearly shows when and how I have broken the separation in presentation and control flow. I would prefer when I need to break the separation to place the presentation in the control flow. For me a separation in the tools used for presentation and control flow help.

        So no I am not saying that any tool is inferior, I am saying make sure you are using the best tool for the job and that fits you.

        When I say q{quality of life} I mean the latter q{in the broader sense, that the code/templates I write/maintain will be easier to work with to a great degree}