Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^2: restful web service server

by westy032001 (Novice)
on May 12, 2011 at 11:08 UTC ( #904356=note: print w/replies, xml ) Need Help??

in reply to Re: restful web service server
in thread restful web service server

thanks for the responses both
I had wondered if using a framework was the best way to go or if people tended to roll there own.
I had a look at dancer, i will look at catalyst as well cheers.
Is there a way of running the perl resources in an existing perl environment rather than a perl env being created, the code run then thrown away which is how i understand cgi works.

Replies are listed 'Best First'.
Re^3: restful web service server
by John M. Dlugosz (Monsignor) on May 12, 2011 at 11:32 UTC
    I find Catalyst to be more "glue logic" and "abstraction layer" and gives me all the benefit of rolling my own: I choose what to use! It just provides a nice way to tie everything together, and a cool testing environment.

    Dancer is more "use what they provided".

    I think you are asking about not running the script every time a request comes in, but leaving it running and handling requests. For sure; modperl is the granddaddy of that. "fastcgi" is the current approach. All that is explained in Catalyst tutorials.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2022-07-04 15:13 GMT
Find Nodes?
    Voting Booth?

    No recent polls found