RESTful PHP Web Services
|Also available on:|
- Get familiar with REST principles
- Learn how to design and implement PHP web services with REST
- Real-world examples, with services and client PHP code snippets
- Introduces tools and frameworks that can be used when developing RESTful PHP applications
Book DetailsLanguage : English
Paperback : 220 pages [ 235mm x 191mm ]
Release Date : October 2008
ISBN : 1847195520
ISBN 13 : 9781847195524
Author(s) : Samisa Abeysinghe
Topics and Technologies : All Books, Architecture & Analysis, Open Source, PHP, Web Development
Table of Contents
Chapter 1: Introduction to REST
Chapter 2: REST with PHP—A First Look
Chapter 3: REST in the Real World
Chapter 4: Resource-Oriented Services
Chapter 5: Resource-Oriented Clients
Chapter 6: Resource-Oriented Clients and Services with Zend Framework
Chapter 7: Debugging REST Web Services
Appendix A: WSO2 Web Services Framework for PHP
Appendix B: RESTClient class
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
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
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.
Learn the basic architectural concepts and step through examples of consuming and creating RESTful web services in PHP.
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 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.