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.
thanks.

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.