I read up on CGI::Application maybe about a year ago- I thought it made sense and -tried- it out, sadly I just put it aside and 'rolled my own' framework in the end.

A few weeks ago I looked over one of these 'roll my own' cgi apps and I was horrified by the disgusting post apocalyptic nature of the work as a whole- The thing worked- and worked well- but the more I tried to figure out how- the more I felt like I was watching Nighmare on Elm Street on lsd. Everything was well documented- made sense piece by piece.. but the whole thing at once did not fit in my head.

I went and rewrote the whole thing in CGI::Application. And.. Now it's like a blooming rose. It's incredibly smooth- and a little discipline in a language that lets you get away with mass murder is actually ok. I actually enjoyed the restrictions.

I am very taken by CGI::Application- the thing looked so humble- but it's really doing a lot to keep my soldiers in line.

CGI::Builder has caught my attention. It was originally CGI::Application::Plus - but that later module is being deprecated (maintained for legacy). They have some major similarities- But I don't see a lot of comparison talk between the two of them in the documentation.

Does anybody here have a preference and why? Any thoughts would be greatly appreciated. Thank you!

update: CGI::Builder's author codes unexpected behaviour akin to spyware.


In reply to CGI::Application vs CGI::Builder by leocharre

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.