PHP Web Services: APIs for the Modern Web
-
ISBN978-1491933091
-
Видавництво
-
Автор
-
Рік2016
-
МоваАнглійська
Все про “PHP Web Services: APIs for the Modern 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
Анотація
Всі характеристики
- Видавництво
- Автор
- Категорія
- Рік2016
- Сторінок180
- Формат170х240 мм
- ОбкладинкаМ'яка
- Тип паперуОфсетний
- МоваАнглійська
- Термін поставки7-10 дней
Товар входить до категорії
-
Самовивіз з відділень поштових операторів від
45 ₴ -80 ₴ -
Доставка поштовими сервісами - тарифи перевізника
Рецензії