Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: CGI.pm and HTML5

by TomDLux (Vicar)
on May 03, 2013 at 17:02 UTC ( #1031933=note: print w/ replies, xml ) Need Help??


in reply to CGI.pm and HTML5

Generating a web page with CGI is kinda like assembling a bookshelf by gluing chopsticks together. Yes, you get there, but you spend too much effort dealing with tiny details.

Take a look at Catalyst, Dancer, Mojolicious, which greatly simplify the process of generating a set of pages for a website, including templating, common elements, authorization, and so on.

As Occam said: Entia non sunt multiplicanda praeter necessitatem.


Comment on Re: CGI.pm and HTML5
Replies are listed 'Best First'.
Re^2: CGI.pm and HTML5
by space_monk (Chaplain) on May 03, 2013 at 17:07 UTC

    Yes I would love to use more modern modules to do this but I'm a bit constrained by the environment I have to work in. None of those modules are installed. Its a fairly vanilla Perl 5.8.8 installation

    If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)

      I just installed Dancer on an old Solaris system with 5.8.8, no issues.

        I'm not disputing it is possible to install better modules, I am disputing that getting through the company bureaucracy to get extra modules installed will take longer than the two weeks I have left on my contract.
        If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)

      While I can empathize with the need for infrastructure stability, relying on a seven year old release of any 'progressing' product is not good. Maybe you could use this bit friction to open a dialog with your 'powers to be' about modernizing the toolset?

      -derby

        You have no idea!! :-) I'm a consultant on a short term contract, and whilst it wasn't my brief I wrote a plan to upgrade their applications {partly in the hope they'd extend my contract :-) }. They're still running Firefox 3 for goodness sake...

        If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031933]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (16)
As of 2015-07-28 15:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (257 votes), past polls