PHP Web Services: APIs for the Modern Web

Паперова книга
13244
PHP Web Services: APIs for the Modern Web - фото 1
02.04
390
17 людей

Все про “PHP Web Services: APIs for the Modern Web”

Від видавця

Whether you're data sharing between two internal systems building or an API so that users can access their data, this practical guide has everything you need to build APIs with PHP. Author Lorna Jane Mitchell provides lots of hands-on code samples, real-world examples, and advice based on her extensive experience guide to you through the process from the транспортний theory to methods for making your service robust.

you'll learn how to use this language to work with JSON, XML, and other web service technologies. This updated second edition includes new tools and features that reflect PHP updates and changes on the Web.
  • Explore HTTP from the request/response cycle to its verbs, headers, and cookies
  • Work with and publish webhooks—user-defined HTTP callbacks
  • Determine whether JSON XML or is the best data format for your application
  • Get advice for working with RPC, SOAP, and RESTful services
  • Use several tools and techniques for debugging HTTP web services
  • Choose the service that works best for your application and learn how to make it robust
  • your Document API—and learn how to design it to handle errors

Зміст

Chapter 1 : HTTP
Clients and Servers
Making HTTP Requests
Chapter 2 : HTTP Verbs
Making GET Requests
Making POST Requests
Using Other HTTP Verbs
Chapter 3 : Headers
Request and Response Headers
Common HTTP Headers
Custom Headers
Chapter 4 : Cookies
Cookie Mechanics
Working with Cookies in PHP
Chapter 5 : JSON
When to Choose JSON
Handling JSON with PHP
JSON in Existing APIs
Chapter 6 : XML
When to Choose XML
XML in PHP
XML in Existing APIs
Chapter 7 : RPC and SOAP Services
RPC
SOAP
Chapter 8 : REST
RESTful URLs
Resource Structure and Hypermedia
Data and Media Types
HTTP Features in REST
Additional Headers in RESTful Services
RESTful versus Useful
Chapter 9 : Debugging Web Services
Debug Output
Logging
Debugging from Outside Your Application
Finding the Tool for the Job
Chapter 10 : Making Service Design Decisions
Service Type Decisions
Consider Data Formats
Customizable Experiences
Pick Your Defaults
Chapter 11 : Building a Robust Service
Consistency Is Key
Making Design Decisions for Robustness
Chapter 12 : Error Handling in APIs
Output Format
Meaningful Error Messages
What to Do When You See Errors
Chapter 13 : Documentation
Overview Documentation
API Documentation
Interactive Documentation
Tutorials and the Wider Ecosystem
Appendix : A Guide to Common Status Codes
Appendix : Common HTTP Headers
Colophon

Анотація

PHP Web Services: APIs for the Modern Web

Рецензії

0

Всі характеристики

  • Видавництво
  • Автор
  • Категорія
  • Рік
    2016
  • Сторінок
    180
  • Формат
    170х240 мм
  • Обкладинка
    М'яка
  • Тип паперу
    Офсетний
  • Мова
    Англійська
  • Термін поставки
    7-10 дней

Товар входить до категорії

  • Самовивіз з відділень поштових операторів від 45 ₴ - 80 ₴
  • Доставка поштовими сервісами - тарифи перевізника