Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: CGI.pm and HTML5

by TomDLux (Vicar)
on May 03, 2013 at 17:02 UTC ( [id://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.

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 of friction to open a dialog with your 'powers that 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1031933]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2025-07-19 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.