Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Understanding benefits of Plack

by Corion (Patriarch)
on May 07, 2011 at 15:52 UTC ( [id://903570]=note: print w/replies, xml ) Need Help??


in reply to Understanding benefits of Plack

Plack (and PSGI) is nice in the sense that you don't need to worry (that much) anymore about whether your script will be running under mod_perl or as CGI, or via HTTP::Server::Simple, and you still get to do fancy stuff like providing the page content through a callback. I found Plack nice when writing a webserver that did background page fetching through AnyEvent - I didn't have to look at how AnyEvent::HTTP does its thing but could simply use Dancer, which respects PSGI. In the end, I used Twiggy as the backend HTTP server.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-25 20:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found