Items related to PHP Web Services: APIs for the Modern Web

PHP Web Services: APIs for the Modern Web - Softcover

 
9781449356569: PHP Web Services: APIs for the Modern Web
View all copies of this ISBN edition:
 
 

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.

  • Explore HTTP, from the request/response cycle to its verbs, headers, and cookies
  • Determine whether JSON or XML is the best data format for your application
  • Get practical advice for working with RPC, SOAP, and RESTful services
  • Use a variety of tools and techniques for debugging HTTP web services
  • Choose the service that works best for your application, and learn how to make it robust
  • Learn how to document your API—and how to design it to handle errors

"synopsis" may belong to another edition of this title.

Review:

Q&A with Lorna Jane Mitchell, author of "PHP Web Services"

Q. What makes this book important right now?

A. Today's web applications are beyond "making websites" and into integrating multiple data sources to present all the information and features that a user could need-- and often making that information available in turn as an API. No system is an island at this point, and APIs are the bridges between the systems.

Q. What information do you hope that readers of your book will walk away with?

A. The book will give a good understanding of the concepts; readers will learn all about HTTP theory, various different types of services, how to work with data types. It goes beyond the standard textbook though and shows examples from real projects (the code examples are also on GitHub), and gives pragmatic advice on how to apply the concepts really well.

Q. What's the most exciting thing happening in your space?

A. Seeing longstanding web developers step beyond the browser, and build systems that can work with rich AJAX frontends, mobile sites, and everything else. It's a time of great change, and it's all powered by APIs. PHP was made "to solve the web problem," so it's perfect as the backend technology for all these inspiring innovations as it's scalable and fast.

Q. Can you give us a few tips for smarter web development?

  1. Get to know your tools! Your browser should have plugins to let you observe the HTTP traffic and also change it by editing cookies or sending extra headers. Mastering other tools like cURL and Wireshark can make API development much easier and faster.
  2. Always consider the failure case. Most APIs work perfectly well when client are server are making expected moves. How your API responds in adverse conditions or in response to nonsense requests really defines its quality.
  3. Choose your technologies for your user, not for your developer. Making websites, we deliver to the browser. Making APIs, we deliver to any number of other unknown platforms and there are many design decisions to make. The "right" choices depend much more on your target user base than on your own preferences or any consideration for what is new and shiny.
  4. Have confidence. Try to avoid being overwhelmed by all the information that is out there about the "one true way" to create an API. There are lots of options and in the realm of APIs, especially RESTful ones, they are usually strong and vocal opinions. A good understanding of HTTP concepts is the only must-have; don't try to please everyone you meet on the internet-- the only way to deliver a decent API is to begin!
  5. Finally, don't be afraid to break the rules. Every application is different, and while it's vital to understand why things are normally done a particular way, you may find the exception that breaks the rule. In that situation, have confidence and follow your instincts rather than the rules.

About the Author:

Lorna Jane Mitchell is an independent web development consultant, specializing in PHP and APIs in particular. With over 10 years of PHP development experience across a wide variety of industries, Lorna learned many lessons the hard way and always has a story to tell. Lorna is also an experienced trainer, offering training both to private clients around the world and teaching public courses. A prolific writer, Lorna writes for a number of publications, and frequently for her own blog http://lornajane.net.

"About this title" may belong to another edition of this title.

  • PublisherO'Reilly Media
  • Publication date2013
  • ISBN 10 1449356567
  • ISBN 13 9781449356569
  • BindingPaperback
  • Edition number1
  • Number of pages115
  • Rating

Other Popular Editions of the Same Title

9789351101307: PHP Web Services

Featured Edition

ISBN 10:  9351101304 ISBN 13:  9789351101307
Publisher: Shroff Publishers & Distribu..., 2013
Softcover

  • 9789352133017: PHP Web Services

    Shroff..., 2016
    Softcover

Top Search Results from the AbeBooks Marketplace

Stock Image

Mitchell, Lorna
Published by O'Reilly Media (2013)
ISBN 10: 1449356567 ISBN 13: 9781449356569
New Paperback Quantity: 1
Seller:
Wizard Books
(Long Beach, CA, U.S.A.)

Book Description Paperback. Condition: new. New. Seller Inventory # Wizard1449356567

More information about this seller | Contact seller

Buy New
US$ 66.39
Convert currency

Add to Basket

Shipping: US$ 3.50
Within U.S.A.
Destination, rates & speeds
Stock Image

Mitchell, Lorna
Published by O'Reilly Media (2013)
ISBN 10: 1449356567 ISBN 13: 9781449356569
New Paperback Quantity: 1
Seller:
GoldenWavesOfBooks
(Fayetteville, TX, U.S.A.)

Book Description Paperback. Condition: new. New. Fast Shipping and good customer service. Seller Inventory # Holz_New_1449356567

More information about this seller | Contact seller

Buy New
US$ 68.55
Convert currency

Add to Basket

Shipping: US$ 4.00
Within U.S.A.
Destination, rates & speeds
Stock Image

Mitchell, Lorna
Published by O'Reilly Media (2013)
ISBN 10: 1449356567 ISBN 13: 9781449356569
New Softcover Quantity: 1
Seller:
Front Cover Books
(Denver, CO, U.S.A.)

Book Description Condition: new. Seller Inventory # FrontCover1449356567

More information about this seller | Contact seller

Buy New
US$ 69.09
Convert currency

Add to Basket

Shipping: US$ 4.30
Within U.S.A.
Destination, rates & speeds