Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: beautiful form(s) with CGI

by marto (Cardinal)
on Jan 13, 2015 at 13:19 UTC ( #1113087=note: print w/replies, xml ) Need Help??


in reply to beautiful form(s) with CGI

perlcritic.com uses boostrap among other things. To make your task easier, download and customise bootstrap, once you've got everything looking the way you want witout involving Perl use this as the basis for your template. If you are considering using CGIs built in CGI HTML generation facilties I'd strongly advise against this. See Template/HTML::Template for example.

On a related note there are other frameworks which can make this sort of development easier, (from CGI) note:

CGI.pm HAS BEEN REMOVED FROM THE PERL CORE

http://perl5.git.perl.org/perl.git/commitdiff/e9fa5a80

If you upgrade to a new version of perl or if you rely on a system or vendor perl and get an updated version of perl through a system update, then you will have to install CGI.pm yourself with cpan/cpanm/a vendor package/manually. To make this a little easier the CGI::Fast module has been split into its own distribution, meaning you do not need acces to a compiler to install CGI.pm

The rationale for this decision is that CGI.pm is no longer considered good practice for developing web applications, including quick prototyping and small web scripts. There are far better, cleaner, quicker, easier, safer, more scalable, more extensible, more modern alternatives available at this point in time. These will be documented with CGI::Alternatives.

For more discussion on the removal of CGI.pm from core please see:

http://www.nntp.perl.org/group/perl.perl5.porters/2013/05/msg202130.html

Update: Edited formatting.

Replies are listed 'Best First'.
Re^2: beautiful form(s) with CGI
by adriang (Sexton) on Jan 13, 2015 at 13:58 UTC
    Thanks all for the good advice,
    I will start to use a framework but I'm not sure if to start with Catalyst or dancer or dancer2?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-05-22 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (81 votes). Check out past polls.

    Notices?