RESTful PHP Web Services (From Technologies to Solutions) and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Start reading RESTful PHP Web Services (From Technologies to Solutions) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Restful PHP Web Services [Paperback]

Samisa Abeysinghe

Price: CDN$ 43.67 & FREE Shipping. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually ships within 3 to 5 weeks.
Ships from and sold by Amazon.ca. Gift-wrap available.

Formats

Amazon Price New from Used from
Kindle Edition CDN $14.39  
Paperback CDN $43.67  
Join Amazon Student in Canada


Book Description

Oct. 1 2008 From Technologies to Solutions
In Detail

Representational State Transfer (REST) is a form of software architecture; systems that follow it are often called RESTful. It is the architectural style that drives the World Wide Web (the motivation for REST was to capture elements that made the Web successful), and RESTful web services use simple protocols already familiar to web developers. RESTful web services are found in lots of places with big name Web APIs such as Flickr, and Yahoo search following a REST-based approach.

With any architectural style or approach, struggling with its basic concepts is just one problem - implementation in your favorite language is another, and that's where this book comes in. If you're a PHP developer, this book will show you how to create and consume RESTful web services in PHP, and make your services work well in the context of the Web.

You will learn about the basic concepts of REST, and then look at PHP tools, libraries and techniques for working with RESTful web services. You will see how to use other RESTful services from your PHP applications, and also how to engineer your PHP applications to make them RESTful.

This book is about implementing RESTful web services in PHP, and so the book is packed with example code and careful explanations.

What you will learn from this book?

  • Basic concepts of REST architecture
  • Consuming public REST-style services from your PHP applications
  • Consuming RESTful web services, such as those from leading APIs such as Flickr, and Yahoo Web Search
  • Making your own PHP applications accessible to other applications through a RESTful API
  • REST support in the popular Zend framework
  • Debugging RESTful services and clients
  • A case study of designing a RESTful PHP service from the ground up, and designing clients to consume the service

Approach

The book explains the basic concepts associated with the REST architectural style, but the emphasis is on creating PHP code for consuming and creating RESTful services in PHP. There is plenty of example PHP code to illustrate the concepts, with careful explanations of how the code works.

Who this book is written for?

This book targets PHP developers who want to build or make use of RESTful web services, or explore the options available to them in PHP. You will need to know the basics of PHP development, but no knowledge of REST is assumed, nor any knowledge of creating web services generally.


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: 23.5 x 19 x 1.2 cm
  • Shipping Weight: 458 g
  • Amazon Bestsellers Rank: #608,754 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 Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.8 out of 5 stars  8 reviews
8 of 9 people found the following review helpful
2.0 out of 5 stars Decent introduction to REST and PHP Nov. 16 2008
By Amazon Customer - Published on Amazon.com
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.
2 of 2 people found the following review helpful
2.0 out of 5 stars Outdated book Dec 28 2012
By David Cheli - Published on Amazon.com
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
3.0 out of 5 stars A Rather Complete Exposure of Restful Design with PHP April 30 2010
By Brian L. Donat - Published on Amazon.com
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
4.0 out of 5 stars A good introduction to RESTful services with PHP Jan. 21 2010
By August Reid - Published on Amazon.com
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
5.0 out of 5 stars Good Jan. 13 2009
By Developpez.com writers - Published on Amazon.com
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.

Look for similar items by category


Feedback