reklama - zainteresowany?

PHP Web Services. APIs for the Modern Web. 2nd Edition - Helion

PHP Web Services. APIs for the Modern Web. 2nd Edition
ebook
Autor: Lorna Jane Mitchell
ISBN: 978-14-919-3304-6
stron: 180, Format: ebook
Data wydania: 2016-01-06
Księgarnia: Helion

Cena książki: 92,65 zł (poprzednio: 107,73 zł)
Oszczędzasz: 14% (-15,08 zł)

Dodaj do koszyka PHP Web Services. APIs for the Modern Web. 2nd Edition

Whether you’re sharing data between two internal systems or building 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 to guide you through the process—from the underlying 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 or XML 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
  • Document your API—and learn how to design it to handle errors

Dodaj do koszyka PHP Web Services. APIs for the Modern Web. 2nd Edition

 

Osoby które kupowały "PHP Web Services. APIs for the Modern Web. 2nd Edition", wybierały także:

  • Windows Media Center. Domowe centrum rozrywki
  • Ruby on Rails. Ćwiczenia
  • DevOps w praktyce. Kurs video. Jenkins, Ansible, Terraform i Docker
  • Przywództwo w Å›wiecie VUCA. Jak być skutecznym liderem w niepewnym Å›rodowisku
  • Scrum. O zwinnym zarzÄ…dzaniu projektami. Wydanie II rozszerzone

Dodaj do koszyka PHP Web Services. APIs for the Modern Web. 2nd Edition

Spis treści

PHP Web Services. APIs for the Modern Web. 2nd Edition eBook -- spis treści

  • Preface
    • Conventions Used in This Book
    • Using Code Examples
    • Safari Books Online
    • How to Contact Us
    • Acknowledgments
  • 1. HTTP
    • Clients and Servers
    • Making HTTP Requests
      • Command-Line HTTP
      • Browser Tools
      • Doing HTTP with PHP
  • 2. HTTP Verbs
    • Serving GET Requests
    • Making GET Requests
    • Handling POST Requests
    • Making POST Requests
    • Using Other HTTP Verbs
  • 3. Headers
    • Request and Response Headers
    • Identify Clients with User-Agent
    • Headers for Content Negotiation
      • Parsing an Accept Header
      • Demonstrating Accept Headers with cURL
    • Securing Requests with the Authorization Header
      • HTTP Basic Authentication
      • HTTP Digest Authentication
      • OAuth
    • Caching Headers
    • Custom Headers
  • 4. Cookies
    • Cookie Mechanics
    • Reading and Writing Cookies
    • Making Requests with Cookies
    • Cookies and APIs
  • 5. JSON
    • When to Choose JSON
    • Handling JSON with PHP
      • The JSONSerializable Interface
    • Consuming JSON APIs
  • 6. XML
    • XML in PHP
      • Creating XML
    • Consuming XML APIs
      • Parsing XML
      • Flickrs XML API
  • 7. RPC and SOAP Services
    • RPC
    • SOAP
      • WSDL
      • PHP SOAP Client
      • PHP SOAP Server
      • Generating a WSDL File from PHP
      • PHP Client and Server with WSDL
  • 8. REST
    • RESTful URLs
    • Resource Structure and Hypermedia
    • Build the Basic RESTful Server
      • Example Project: The Wishlist
      • Create Resources with POST
      • Fetch a Resource or Collection with GET
      • Update a Resource with PUT
      • DELETE a Resource
    • RESTful Versus Useful
  • 9. Webhooks
    • GitHubs Webhooks
    • Publishing Your Own Webhooks
  • 10. HTTP Tools
    • Easy Command-Line JSON
    • Graphical cURL Alternatives
    • Inspect HTTP Traffic with Wireshark
    • Tunnel Local Traffic Remotely with ngrok
    • Inspect, Edit, Repeat, and Share Requests
    • Proxying PHP Applications
      • Proxy Settings for Guzzle
      • Proxy Settings for HTTP Stream Handling
    • Finding the Tool for the Job
  • 11. Maintainable Web Services
    • Sample API Application
    • Consistent Output Formats
    • Debug Output as a Tool
    • Effective Logging Techniques
      • Error Logging in PHP Applications with Monolog
    • Error Handling with PHP Exceptions
  • 12. Making Service Design Decisions
    • Service Type Decisions
    • How to Present API Data
      • Hypermedia for Easy API Navigation
      • Nested Data or Many Round Trips
      • Data Formats and Media Types
    • Customizable Experiences
    • Pick Your Defaults
  • 13. Building a Robust Service
    • Consistency Is Key
      • Consistent and Meaningful Naming
      • Common Validation Rules
      • Predictable Structures
    • Error Handling in APIs
    • Meaningful Error Messages
    • What to Do When You See Errors
    • Making Design Decisions for Robustness
  • 14. Publishing Your API
    • Documentation Is Key
      • Overview Documentation
      • Generated API Documentation
      • Interactive Documentation
    • API Description Languages
    • Automated Testing Tools
    • Tutorials and the Wider Ecosystem
  • A. A Guide to Common Status Codes
  • B. Common HTTP Headers
  • Index

Dodaj do koszyka PHP Web Services. APIs for the Modern Web. 2nd Edition

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.