RESTful PHP Web Services (From Technologies to Solutions) and over one million other books are available for Amazon Kindle. Learn more
CDN$ 42.94
Usually ships within 3 to 5 weeks.
Ships from and sold by
Gift-wrap available.
Add to Cart
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

Restful PHP Web Services Paperback – Oct 1 2008

See all 2 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
"Please retry"
CDN$ 42.94
CDN$ 42.94 CDN$ 49.77

Join Amazon Student in Canada

Customers Who Bought This Item Also Bought


Product Details

  • Paperback: 1 pages
  • Publisher: Packt Publishing (Oct. 1 2008)
  • Language: English
  • ISBN-10: 1847195520
  • ISBN-13: 978-1847195524
  • Product Dimensions: 1.2 x 18.8 x 23.1 cm
  • Shipping Weight: 458 g
  • Amazon Bestsellers Rank: #471,773 in Books (See Top 100 in Books)

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on (beta) 8 reviews
8 of 9 people found the following review helpful
Decent introduction to REST and PHP Nov. 16 2008
By Amazon Customer - Published on
Format: Paperback
The book is a good introduction to PHP web services, cURL and DOM. It goes into details of building a web service from scratch. That is good for understanding, but I would much rather use a framework from WSO2 or Zend.

Book has a lot of examples. Though the examples have a few problems
1. Very basic sample programs for RESTful server.
2. A lot of code is printed, but with very little explanation.
3. Code explanation does not offer more than what you would get by reading the code itself. No options or pitfalls are described.
4. Printed code formatting is awful. Statements wrap around, instead of line breaks and indentation. Random words are highlighted. Bold words have no connection to the concept being explained. For example, frequently (but not always) functions have plain "return;" highlighted.
All that makes the book hard to read.

Before buying the book, check websites for WSO2, Zend, Flickr and Yahoo. They have good documentation and tutorials.
1 of 1 people found the following review helpful
Outdated book Dec 28 2012
By David Cheli - Published on
Format: Paperback Verified Purchase
While this book has some good information, the samples are out of date and hence, don't work; the reason being that many of the 3rd party API's used in the book are deprecated (e.g. Yahoo). If you want some good information on this topic, the the book is good. If you are looking to work with the samples, look for a more current book. Also, the Zend code examples are based on older versions of the framework (prior to 1.08) and are pretty much useless. However, you will learn much about Zend if you take the time to make the convert them to a more current version.
1 of 1 people found the following review helpful
A Rather Complete Exposure of Restful Design with PHP April 30 2010
By Brian L. Donat - Published on
Format: Paperback Verified Purchase
The book is a good exposure to RESTful architecture concepts. The author introduces points of personal bias in his prose, but the objectives are clearly presented. It's a brief exposure and can be a quick read. And of course, it is specific to PHP, while mentioning in passing, other languages applicability to REST. This book is a good starting place for those who wish to learn about REST, before tackling REST in other contexts.
1 of 1 people found the following review helpful
A good introduction to RESTful services with PHP Jan. 21 2010
By M. Reid - Published on
Format: Paperback
I've been using a lot of RESTful services these days and have been waiting for a good book that is dedicated to the topic. I recently received a copy of 'RESTful PHP Web Services', which does a successful job of outlining proven concepts in current web technology. If you want to learn the methods for creating and consuming RESTful services then you will find many examples in this book. From the architectural plans to well thought out code samples, the book covers a lot of ground in a relatively quick read.

The first chapter gives the reader a quick introduction to RESTful services and the most common PHP frameworks in use at the time of writing. I particularly enjoyed the section on the Zend framework due to the explanation of benefits over the other frameworks. The chapter also covers the very basics which include a detailed look at exactly what RESTful services means and what technologies are required to use and benefit from a RESTful architecture. The second chapter gives a quick run down of the various methods in use for consumption of data; these being Curl, several HTTP methods, processing data with XML, DOM, and SimpleXML. After those are covered there is a simple example of consuming services like Flickr using the previous methods. This transitions into many more examples of consuming real world services that any developer would find interesting and exciting for data mashups.

The real meat of the book starts in chapter four where we get into designing the resource utilization systems and then the resource clients in chapter five. Those topics basically go over the nuts and bolts of gathering data, manipulating it, updating it, as well as creating fresh data. We get more instruction and usage examples on the Zend framework in chapter seven where the author gives us information on the controllers, models, and view (MVC model). This would not be too useful without knowing how to debug the code that we're using so there is, thankfully, a chapter dedicated to debugging XML building and parsing errors. A couple of short appendixes cover the author's own WSO2 web service framework as well as REST Client Classes which should prove useful for writing your own reusable classes.

Overall this book covers the majority of topics that a new developer needs to understand in order to start developing and deploying RESTful code and web services in PHP. From frameworks to consumable service samples, and everything in between, RESTful PHP Web Services comes through in a concise and enjoyable style that will not disappoint. I highly recommend this book for developers that are new to this topic or experienced developers that need a quick refresher course.
1 of 1 people found the following review helpful
Good Jan. 13 2009
By writers - Published on
Format: Paperback
This book, accurate and concise, will guide you through the world of PHP RESTful services. Thanks to simple and easy to understand examples, you will learn to create a client and a RESTful server.
To illustrate that, the author is relying on the cURL and SimpleXML libraries to setup the communication.
One chapter is also dedicated to the Zend library (Zend_Rest) allowing RESTful services integration with this framework.
Icing on the Cake, the author provides at the end of the book his own source code to consume REST services.
This code, very easy to understand, works with or without the cURL library and will allow you to do some practice and apply all the good advices provided all around the book.

A book that I would recommend to PHP beginners, but also those who are yet mastering it and want to setup their own services.