Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Perl Webservices...whats it good for?

by RatArsed (Monk)
on Mar 27, 2003 at 11:28 UTC ( [id://246214]=note: print w/replies, xml ) Need Help??


in reply to Perl Webservices...whats it good for?

the Perl Webservices book? Anyway:

Think of SOAP (and webservices) as a method for doing RPC over exisiting protocols such as HTTP using platform independent data (i.e. embed everything as XML)

This changes the question to be "why would I want RPC?" -- Which is all down to the problems you're trying to solve. To pick a problem at 'random'; Let's say you want to find events near a UK postcode -- you may not want to try and collect this data locally, and might want to pull data off an existing website like local.angle - they offer a webservice that allows you to get a list of events based on your postcode with their permission -- you could just pull the data off their website, but you do have some morals, right?

For the data providers (in the case of web services that merely retrieve data) it's a lot more efficient to give the raw data, instead of the data dispersed through the virtually manditory 30kb of navigational fluff that is merely presentational.

Now, expand this to the cases where you want them to do something with your request (like order some books) and it becomes even more of a saving, as you're not having to "fake" form filling, etc.

Other examples I've seen (and used) are the ability to query the Amazon catalogue, find out about DSL and cable modem availability in the UK and getting exchange rate data.

At then end of the day, it's up to you to decide whether web services will solve your problems, and whether you'd like to reuse the services out there.

--
RatArsed

  • Comment on Re: Perl Webservices...whats it good for?

Replies are listed 'Best First'.
Re: Re: Perl Webservices...whats it good for?
by Koschei (Monk) on Mar 30, 2003 at 09:03 UTC
    "the Perl Webservices book?"

    Pretty much. "Programming Web Services with Perl" is, to my knowledge, the only dedicated web services and Perl book. There are others where Perl is covered with other languages, and there's also a couple of .NET ones, but PWSwP (details here) is THE book =)

    This is, of course, assuming the fellow's talking about that book.

      Just checking that we weren't referring to O'Reilly's "Web Services Essentials" or "Programming Web Services with SOAP"; Both which cover Web services in Perl to a greater or lesser extent...

      --
      RatArsed

        "Programming Web Services with XML-RPC" also has a section with Perl. I still wouldn't describe any but "PWS with Perl" as "the". Ah well.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-18 04:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found