Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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.

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?
[zentara]: LanX One day, I will see a great interest in Tk. It's small, self-contained, needs very few external libraries, AND makes it easy to make high-contrast displays. :-)
[zentara]: Corion in this cased they left the www. out
[zentara]: /d// :-)
[LanX]: i like tk, just joking. but what about modern styles?
LanX has to run. .. o/
[zentara]: modern styles are secondary to display readability. Tk is automatically good at the clunky industrial theme. :-)
[ww]: Amen!

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2017-05-26 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?