Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: restful web service server

by John M. Dlugosz (Monsignor)
on May 12, 2011 at 10:41 UTC ( [id://904353]=note: print w/replies, xml ) Need Help??


in reply to restful web service server

Check out Catalyst. There are tutorials that include REST.

As the other reply indicates, the server that hosts it doesn't matter since the framework is abstracted from it.

Replies are listed 'Best First'.
Re^2: restful web service server
by westy032001 (Novice) on May 12, 2011 at 11:08 UTC
    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.
    thanks.
      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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-29 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found