RESTful PHP Web Services - Helion
ebook
Autor: Samisa AbeysingheTytuł oryginału: RESTful PHP Web Services.
ISBN: 9781847195531
stron: 220, Format: ebook
Data wydania: 2008-10-30
Księgarnia: Helion
Cena książki: 129,00 zł
Osoby które kupowały "RESTful PHP Web Services", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
RESTful PHP Web Services eBook -- spis treści
- RESTful PHP Web Services
- Table of Contents
- RESTful PHP Web Services
- Credits
- About the Author
- About the Reviewers
- Preface
- What This Book Covers
- What You Need for This Book
- Who This Book is For
- Conventions
- Reader Feedback
- Customer Support
- Downloading the Example Code for the Book
- Errata
- Piracy
- Questions
- 1. Introduction to REST
- Programmable Web
- HTTP and Web Services
- What is REST?
- HTTP Methods
- The Need for RESTful Web Services
- REST Tools and Frameworks in PHP
- XML Parsers
- Tools for Accessing Services
- Providing Services
- PHP REST Frameworks
- Tonic
- Konstrukt
- Zend Framework
- WSO2 WSF/PHP
- Madeam
- dbscript
- What Framework to Use
- Summary
- 2. REST with PHPA First Look
- HTTP with PHP
- CURL
- HTTP GET
- HTTP POST
- HTTP PUT
- HTTP DELETE
- CURL
- Building the Request with XML Tools
- SimpleXML
- DOM
- Processing the Response
- SimpleXML
- DOM
- Consuming Flickr
- Photo Search
- Photo Search with Information
- Summary
- HTTP with PHP
- 3. REST in the Real World
- Types of Services Available
- Consuming Real-World Services
- Cresting our Utility CodeRESTUtil.php
- Consuming an RSS FeedBBC News Feed
- BBC News Feed with Yahoo News Search
- Yahoo Maps and Local Search
- Earthquakes and Yahoo Maps
- Mashups
- Summary
- 4. Resource-Oriented Services
- Designing Services
- Simplified Library System
- Resource Design
- PUT vs POST
- URI Design
- URI and HTTP Verb Mapping
- Resource Design
- System Implementation
- Library Database
- Web Page from Data
- Retrieve Operation
- Create Operation
- Handling Multiple Path Parameters
- Summary
- 5. Resource-Oriented Clients
- Designing Clients
- Resource Design
- System Implementation
- Retrieving Resource Information
- Creating Resources
- Deleting Resources
- Putting it All Together
- Implementing a Form-based Application
- Summary
- 6. Resource-Oriented Clients and Services with Zend Framework
- Installing Zend Framework
- Services with Zend_Rest_Server
- Clients with Zend_Rest_Client
- Library System with Zend REST classes
- Library Service
- Controllers for Book and Member Resources
- Models for Book and Member Resources
- Application Configuration and Initialization
- Book Controller
- Member Controller
- Library Clients
- List Books with GET
- Add a Book with POST
- List Members with GET
- Add a Member with POST
- Complete Client Application Controller
- Library Service
- Summary
- 7. Debugging REST Web Services
- Message Tracing
- Errors in Building XML
- Errors in Parsing XML
- Best Practices
- Summary
- A. WSO2 Web Services Framework for PHP
- Installing WSF/PHP
- Implementing Services
- Implementing Clients
- SOAP Service and Client
- Summary
- B. RESTClient class
- get Method
- post Method
- put Method
- delete Method
- Complete RESTClient Class
- get Example
- post Example
- Yahoo Search Client Example
- Summary
- Index