Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Webservice in Perl

by codehack (Initiate)
on Oct 05, 2011 at 07:57 UTC ( #929729=perlquestion: print w/ replies, xml ) Need Help??
codehack has asked for the wisdom of the Perl Monks concerning the following question:

Can anyone suggest me the book for web-service in Perl? Also can you give me the example/company/application where Perl web-service is used.

Comment on Webservice in Perl
Re: Webservice in Perl
by chrestomanci (Priest) on Oct 05, 2011 at 08:23 UTC

    Book recommendations would depend on what technology you intend to use. For example many people use Catalyst for websites, in which case there are a number of Catalyst books to chose from.

    As for who uses perl for websites, a lot of companies do. For example if you take a look at jobs.perl.org you will see that booking.com have this open vacancy for lots of perl devs, so it would be reasonable to assume that they use perl for their website. There are plenty of others, and I have been approached by around a dozen of them, but they are more local in nature.

Re: Webservice in Perl
by perl_lover (Chaplain) on Oct 05, 2011 at 08:53 UTC

      Or maybe not. The book is 9 years old.

      Jenda
      Enoch was right!
      Enjoy the last years of Rome.

Re: Webservice in Perl
by duyet (Scribe) on Oct 05, 2011 at 09:10 UTC
Reaped: Re: Webservice in Perl
by NodeReaper (Curate) on Oct 05, 2011 at 13:03 UTC
Re: Webservice in Perl
by afresh1 (Hermit) on Oct 06, 2011 at 05:01 UTC

    A newer option that I enjoy using is Mojolicious. I don't believe there are any books on it yet, but a fair amount of online documentation. A simple example web service from the Mojolicious web site looks like this:

    # RESTful web service with JSON and text representation get '/list/:offset' => sub { my $self = shift; my $numbers = [0 .. $self->param('offset')]; $self->respond_to( json => {json => $numbers}, txt => {text => join(',', @$numbers)} ); };
    l8rZ,
    --
    andrew
Reaped: Re: Webservice in Perl
by NodeReaper (Curate) on Oct 09, 2011 at 12:35 UTC
Reaped: Re: Webservice in Perl
by NodeReaper (Curate) on Oct 10, 2011 at 12:46 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://929729]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-07-31 04:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls