RESTful Web Clients: Enabling Reuse Through Hypermedia

· "O'Reilly Media, Inc."
3.0
1 review
Ebook
350
Pages
Eligible
Ratings and reviews aren’t verified  Learn More

About this ebook

Powerful web-based REST and hypermedia-style APIs are becoming more common every day, but instead of applying the same techniques and patterns to hypermedia clients, many developers rely on custom client code. With this practical guide, you’ll learn how to move from one-off implementations to general-purpose client apps that are stable, flexible, and reusable.

Author Mike Amundsen provides extensive background, easy-to-follow examples, illustrative dialogues, and clear recommendations for building effective hypermedia-based client applications. Along the way, you’ll learn how to harness many of the basic principles that underpin the Web.

  • Convert HTML-only web apps into a JSON API service
  • Overcome the challenges of maintaining plain JSON-style client apps
  • Decouple the output format from the internal object model with the representor pattern
  • Explore client apps built with HAL—Hypertext Application Language
  • Tackle reusable clients with the Request, Parse, Wait Loop (RPW) pattern
  • Learn the pros and cons of building client apps with the Siren content type
  • Deal with API versioning by adopting a change-over-time aesthetic
  • Compare how JSON, HAL, Siren, and Collection+JSON clients handle the Objects/Addresses/Actions Challenge
  • Craft a single client application that can consume multiple services

Ratings and reviews

3.0
1 review

About the author

An internationally known author and lecturer, Mike Amundsen travels throughout the United States and Europe consulting and speaking on a wide range of topics including distributed network architecture, Web application development, Cloud computing, and other subjects.His recent work focuses on the role hypermedia plays in creating and maintaining applications that can successfully evolve over time. He has more than a dozen books to his credit. His most recent book is "Building Hypermedia APIs with HTML5 and Node" He also contributed to the book "RESTful Web Services Cookbook" (by Subbu Allamaraju).

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.