Programming Web Services with Perl 83
Programming Web Services with Perl | |
author | Randy J. Ray, Pavel Kulchenko |
pages | 496 |
publisher | O'Reilly (December 2002) |
rating | 9 of 10 |
reviewer | ggoebel |
ISBN | 0596002068 |
summary | practical balanced guide to XML::RPC and SOAP::Lite |
The book assumes the reader will have the knowledge of an intermediate level Perl programmer. I.e., the reader is assumed to have a working knowledge of references, data structures, and object-oriented Perl. On the other hand no previous knowledge of XML, XML-RPC, SOAP or XML related technologies is required.
It should also be mentioned that both of the authors Randy J. Ray and Pavel Kulchenko are also the principle developers of the most popular XML-RPC and SOAP Perl modules: XML::RPC and SOAP::Lite respectively. That said, the book is not a soap box for the authors to tout the merits of their tools.
Rather, it is a practical book which starts with grounding fundamentals. Readers should walk away with a core understanding of XML-RPC and SOAP and not just a particular tool set for working with them. The authors examine the alternative XML-RPC and SOAP tools, illustrate how they are used, and give practical and even handed reasons why their modules should be preferred. Which comes down to issues of features, active development, support, and the amount of work required to code to a particular interface. They then settle down to a comfortable and thorough guide to XML::RPC and SOAP::Lite.
The topics and issues are illustrated throughout using real world web services. For example creating an XML-RPC client for O'Reilly's Meerkat news wire, or a SOAP client to covert use.perl.org's journal stream to RSS. Code is presented to the reader filtered down to highlight each particular issue as it is discussed. This is nice in that it avoids listing slight variations of the same code multiple times, but on the down side it can also leave the reader flipping back and forth to reassemble an example in their head. Full code for each example is provided in the appendices. And all of the example code may be downloaded from O'Reilly.
All-in-all, the book is a thorough practical introduction to working with XML-RPC, SOAP and related technologies. When I started reading the book, I was a bit disappointed to see that it only covered XML-RPC and SOAP related services. When I finished, I was impressed with how very much information they'd managed to pack into so few pages.
And yet, I was left wishing there'd been a more through coverage of interoperability issues between other SOAP implementations and things like custom de-serializers. To be honest interoperability and de-serialization are mentioned, and the authors do an excellent job of referring the reader on to sources for continued reading on most other topics.
The book does an admirable job balancing content, length, and information density. Not to mention an excellent job delivering the information that will still be relevant years and not just weeks from the date published. Most of the topics I'd wished to see covered in more depth are those that are still developing and consequently most likely to become quickly dated. In short a well balanced practical guide to applying XML-RPC and SOAP to solve problems.
You can purchase Programming Web Services with Perl from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
Re:PERL and XML??? (Score:1)
Re:PERL and XML??? (Score:1)
You make that sound like a good thing. What it actually is is Perlspeak for, "each developer will have to learn the idiosyncratic programming habits of four other developers".
Re:PERL and XML??? (Score:1, Informative)
Perl is not a bad idea... (Score:4, Informative)
The thing I don't quite get is the reference to the REST standard. That is some hype Roy Fielding put in his thesis. It was never agreed upon by the other members of the Web team and there is no real trace of its influence on the development of web standards for the simple reason that the thesis only came out long after the fact.
Re:Perl is not a bad idea... (Score:1, Flamebait)
Re:Perl is not a bad idea... (Score:1)
But I digress. One thing I liked about this book was the background is gave on XML-RPC and SOAP and how it started to differentiate the two. I would have liked to have seen a little more critical analysis of the
Misinformed about REST (Score:1)
REST is not a standard - it is an architectural style - much like client-server or RPC.
As for REST being some bit of hype, perhaps you should spend a little time reading Fielding's thesis (Oh, I forgot -this is slashdot). In fact, REST quite accurately and usefully describes the architeucture of the web. Further, REST had a large impact on the HTTP spec (or is it just coincidence that Fielding was one of the authors of RFC 2396)
You might also want to tak
Re:Misinformed about REST (Score:2)
That is my point, REST ain't a standard, it IS hype.
Further, REST had a large impact on the HTTP spec (or is it just coincidence that Fielding was one of the authors of RFC 2396)
He was an editor, that means he did the edits, it does not mean he did the design. I was an author and no, REST had no influence on the design, he didn't write his thesis until the spec was long finished. I never heard the ter
Re:Programming Web Services with Perl... (Score:2, Insightful)
Re:Programming Web Services with Perl... (Score:3, Funny)
There is a similar debate at the place where I work. What's really funny is the VB programmers defend their technology by claiming the Perl developers are just better programmers, so you can't conclude that it's the platform.
Honest!
Blatant plug for a friend's book (Score:5, Informative)
It's a New Riders [newriders.com] book, but the entire contents are available free on the web.
Re:Blatant plug for a friend's book (Score:1)
Cool! (Score:1)
Re:how it performs? (Score:2, Insightful)
My personal take is that SOAP::Lite is probably one of the best toolkits for quick WS prototyping and simple projects, but I would tend to steer towards Axis, WebLogic, WASP, and yes, even
OK, (Score:4, Insightful)
There could be a lot of pilot projects but do they really count ?
Isn't the very word "web-service" a marketing gimmic like B2B, B2C, Enterprize, Portal etc ?
One thing web-service promised was a homogenous set of APIs, but do you really see that happening ?
I mean every month i see some company dropping from the web-services consortium and some other joining. How then are they going to agree on standards ?
And if they do agree on standards won't that make their business model vulnerable ?
Re:OK, (Score:1)
Re:OK, (Score:2, Informative)
Re:OK, (Score:2)
It's not B2B, but when your company is >100K people, it might as well be (which is to say, there is often no cooperation or foreknowledge that some group will want access, which is part one the reasons XML-RPC is great).
Re:OK, (Score:3, Insightful)
Sure, it is used by marketing, but it is also a actual trend or methodology, like client/server, or thin computing. And like those methods, they work some of the time, and don't work so well in other cases.
I work in an environment providing near-time data nationally, and internationally to partners, stakeholders, and customers. Trying to make all of the global systems work the same way, and whenever one of those thousands of systems maintained by hundre
leverages HTTP (Score:3, Informative)
And since the standards are open you can hack wrappers for other communication protocols around a web service transport. It should be possible for
Re:OK, (Score:2)
Yes.
Re:OK, (Score:1)
but, for general corporate computing, there are usually going to be better solutions.
Review Critique (Score:2, Insightful)
For instance, when I am teaching a student
good call - here's the links (Score:2)
SOAP [w3.org]
XML-RPC [xmlrpc.com]
I'm getting "connection refused" so
cached XMLRPC [216.239.39.100]
okay (Score:2)
Honestly, if someone is reading this review and they don't know what XML-RPC and SOAP are... they probably don't need to be reading the book ;)
I did say the book assumes no knowledge of XML-RPC and SOAP. But, obviously the review does... Though you are correct, I should have expanded the acronyms. I share your dislike for when you're never told what an acronym stands for... However be content that the book does explain what they are.
$27.97 (free shipping) at Amazon (Score:2, Informative)
Here -> Programming Web Services with Perl [amazon.com]
You can save 10% if you "share the love" [passthelove.com]
Re:$27.97 (free shipping) at Amazon (Score:1)
Re:Yeah... (Score:2)
Yeah... it's because that 1-click technology saves them so much money.
Re:$27.97 (free shipping) at Amazon (Score:2)
Re:$27.97 (free shipping) at Amazon (Score:1)
In total agreement. This behavior is so weak... and quite transparent.
Re:$27.97 (free shipping) at Amazon (Score:1)
If it's inappropriate, then someone (from amazon or slashdot) just needs to tell me so.
Gratuitous O'Reilly books (Score:1, Insightful)
O'Reilly Rules! (Score:1)
Re:O'Reilly Rules! (Score:1)
No you don't. This is the first edition of Programming Web Services with Perl [oreilly.com]. Looks like you have a copy of Programming Web Services with SOAP [oreilly.com]. Two completely separate books with a small amount of overlap.
You are mistaken (Score:2)
Programming Web Services with Perl [amazon.com] is a first edition. If you check out the Amazon reviews, you will note that as of the time of this post, it has 5 stars from 5 reviews.
You are referring to:
Your observations of those books may very well be valid. I myself haven't read them. But the amazon reviews for them are 2 1/2 stars and 4 stars respectively.
Web Services and Perl vs. Web Apps (Score:1)
For example, let us say I wanted to map a directory to a particular CGI script. If I were building CGI apps with Perl, I couldn't do that. I'd have to have a controlling script in the cgi-bin that would relegate particular requests to other CGI scripts (or "require" them). But if I still wanted to map a directory to a script, I would hav
Re:Web Services and Perl vs. Web Apps (Score:3, Insightful)
But regardless, I'd like to point out that you are essentially comparing configurations between Apache (a web server) with Tomcat (an application server, which can, but shouldn't be used as a web server). I am not sure how these reflect negatively on perl.
Re:Web Services and Perl vs. Web Apps (Score:1)
The point is that the J2EE WebApp paradigm has advantages over applicat
Re:Web Services and Perl vs. Web Apps (Score:2)
But I am becoming to see the pattern... You basically prefer the configuration mechanism of Tomcat better than Apache. That's fine, it's a perfectly legitimate concern if that's what matters most to you. But again, it has nothing to do with Java or Perl. What you're talking about are not J2EE things either - they are specific to
Re:Web Services and Perl vs. Web Apps (Score:1)
Sure it is harder.
You have to make two platforms work together rather than work on one platform that does it all. From an archival standpoint, its easier to CVS your one WebApp rather than your httpd.conf + your CGI scripts. Of course, you could always #Include the code for the httpd.conf and bundle it with your CGI scripts,
Re:Web Services and Perl vs. Web Apps (Score:2)
Re:Web Services and Perl vs. Web Apps (Score:1)
As someone who has programmed in both Java and Perl, I see your point. Problem however is that the "right tool for job" approach, as logical as it sounds isn't always workable. This industry is evolving so fast that it is simply impossible for anyone with a day-job to keep up with everything. So rather than everyone knowing all the best tools, what we tend to s
Re:Web Services and Perl vs. Web Apps (Score:1)
Also, on another note, in this economy people who know Perl but not Java are probably not doing too well.
Re:Web Services and Perl vs. Web Apps (Score:3, Interesting)
What does that have to do with Perl? If you were building CGI apps with Java, you wouldn't be able to do that either. CGI != perl.
On the other hand, this can be easily accomplished by a developer building a Web App for a Java servlet container (like Tomcat) by specifying the mapping in the WEB-INF/web.xml of the web application he's building.
Playing along with this t
SOAP:Lite is awesome (Score:2)
I have not seen the book, but the fact that one author wrote SOAP:Lite is a good sign.
Anyway, his work saved me a lot of effort in testing my stuff.
-Mark
Perl, SOAP, and AppleScript (Score:2)
In retrospect, it was glue, using glue, talking to glue, using glue, talking to real data. Cute.
bastard! (Score:2)
Seriously though, I havne't read much of it, but your review does increase my confidence that I haven't wasted my money.
bastard ;) (Score:2)
Some my favorite web services.. (Score:1)
Another very fun application is rinkwork's [rinkworks.com] dialectizer [rinkworks.com]
disclaimer (Score:1)
Sample Chapter (Score:2)