PHP Web Services, 2nd Edition
APIs for the Modern Web
Publisher: O'Reilly Media
Final Release Date: January 2016
Pages: 180

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
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyPHP Web Services, 2nd Edition
 
4.4

(based on 5 reviews)

Ratings Distribution

  • 5 Stars

     

    (3)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

80%

of respondents would recommend this to a friend.

Pros

  • Concise (4)
  • Accurate (3)
  • Easy to understand (3)
  • Well-written (3)

Cons

No Cons

Best Uses

  • Intermediate (5)
  • Expert (3)
    • Reviewer Profile:
    • Developer (4)

Reviewed by 5 customers

Displaying reviews 1-5

Back to top

 
3.0

Disappointing lack of Security/Authorization info

By Stephen R

from Illinois

About Me Developer, Sys Admin

Verified Reviewer

Pros

    Cons

    • Not comprehensive enough

    Best Uses

    • Intermediate
    • Novice

    Comments about oreilly PHP Web Services, 2nd Edition:

    There's a lot of good information in this book, but it completely skips a HUGELY important topic -- in fact, the #1 reason I bought the book in the first place: Authorization.

    The JSON chapter makes a brief mention of "access tokens", but completely fails to give any other useful information on how to control access to your API.

    "Here's how to dish out your data to the whole world. Wait, what? You want to control who can see it? Why would you ever want to do that?" *sigh*

     
    5.0

    Very practical!

    By Sasi

    from Budapest, Hungary

    About Me Designer, Developer, Maker

    Verified Buyer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate

      Comments about oreilly PHP Web Services, 2nd Edition:

      The author goes step-by-step. You can get the big picture in small packages.
      Though some examples could have been more appropriate, the whole book is really useful, even when not building an API just developing a RESTful web application. If you have read PHP Master by Sitepoint from this author, don't worry, this is a relief compared to that.

      (2 of 2 customers found this review helpful)

       
      5.0

      El libro que el desarrollador senior necesita

      By edugonec

      from Ecuador, Guayas

      About Me Designer, Developer

      Verified Buyer

      Pros

      • Accurate
      • Concise
      • Easy to understand
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate

        Comments about oreilly PHP Web Services, 2nd Edition:

        El libro nos ayuda a extender la funcionalidad del portal.

        Con el lenguaje sencillo nos muestra como implementar Web Services.

        (2 of 2 customers found this review helpful)

         
        5.0

        Very Useful Book on PHP Web Services

        By Fiona Coulter

        from Bath, UK

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Concise
        • Well-written

        Cons

          Best Uses

          • Expert
          • Intermediate

          Comments about oreilly PHP Web Services, 2nd Edition:

          I actually needed it for a quick introduction to using SOAP, and found it very helpful. But there is also a lot more there which is of interest if you want to know about PHP web services. I found the book thorough, knowledgeable and well written.

          It is written for people who are well versed in PHP.

          (4 of 4 customers found this review helpful)

           
          4.0

          Good review of Web Services

          By Evan

          from Menlo Park

          Verified Buyer

          Pros

          • Concise
          • Easy to understand

          Cons

            Best Uses

            • Current Practice
            • Intermediate

            Comments about oreilly PHP Web Services, 2nd Edition:

            Using PHP to illustrate and explain current web services clarifies some of the nuances of topics such as http and soap.

            Displaying reviews 1-5

            Back to top

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?
            Ebook:  $25.99
            Formats:  DAISY, ePub, Mobi, PDF
            Print & Ebook:  $32.99
            Print:  $29.99