Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: web-dev and perl (mason, catalyst, embperl)

by webfiend (Vicar)
on Jun 09, 2009 at 15:31 UTC ( #769955=note: print w/replies, xml ) Need Help??


in reply to Re: web-dev and perl (mason, catalyst, embperl)
in thread web-dev and perl (mason, catalyst, embperl)

It's purely a personal style thing, but I tend to pull out CGI::Application even for my simple/one-off stuff. Why? Well, my one-off stuff almost always evolves into (2 .. $n)-off. Eventually my planning patterns just evolved into a make-way-for-change approach.

Mostly I'm still haunted by the memory of a script that I'd planned as one-off but kept using for years. I still see that ugly code staring at me in the middle of the night.

You might not have the myriad assortment of issues that I do, though.

  • Comment on Re^2: web-dev and perl (mason, catalyst, embperl)

Replies are listed 'Best First'.
Re^3: web-dev and perl (mason, catalyst, embperl)
by Your Mother (Chancellor) on Jun 09, 2009 at 16:39 UTC

    You are wise. I usually "inline" my Template/Alloy template in the __DATA__ (with blocks representing different wrappers/fragments) of a one-off so it ends up being both fast to write and easy to break out if I have to later. I like CGI::Application and I think it's one of the right ways to do it; for me personally it falls between too little (doesn't cover what Catalyst does) and too much (I can write dispatch table and such for a straightforward CGI in a few minutes).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://769955]
help
Chatterbox?
[1nickt]: It's a framework that allows you to specify the Transport agent to whatever you want. You could even write your own.
[1nickt]: Perl300 More doc
[hippo]: In that case, use Net::SMTPS and also encrypt your content before you send it eg. with Crypt::GPG

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (10)
As of 2017-10-17 16:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (234 votes). Check out past polls.

    Notices?