PHP Web Services: APIs for the Modern Web, 2nd Edition
- Length: 180 pages
- Edition: 2
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2016-02-01
- ISBN-10: 1491933097
- ISBN-13: 9781491933091
- Sales Rank: #651901 (See Top 100 Books)
Whether you’re sharing data between two internal systems or building an API so users can access their data, this practical book provides everything you need to build web service APIs with PHP. Author Lorna Jane Mitchell uses code samples, real-world examples, and advice based on her extensive experience to guide you through the process—from the underlying theory to methods for making your service robust.
PHP is ideally suited for both consuming and creating web services. You’ll learn how to use this language with JSON, XML, and other web service technologies. The second edition has been updated to include even more hands-on examples to apply to your own applications, and new tools and features to reflect changes on the web and updates to PHP.
- Build web services with PHP and exchange data across applications
- Explore HTTP, from the request/response cycle to its verbs, headers, and cookies
- Learn new material on working with and publishing web hooks
Table of Contents
Chapter 1. HTTP
Chapter 2. HTTP Verbs
Chapter 3. Headers
Chapter 4. Cookies
Chapter 5. JSON
Chapter 6. XML
Chapter 7. RPC and SOAP Services
Chapter 8. REST
Chapter 9. Webhooks
Chapter 10. HTTP Tools
Chapter 11. Maintainable Web Services
Chapter 12. Making Service Design Decisions
Chapter 13. Building a Robust Service
Chapter 14. Publishing Your API