By Mike Amundsen
Powerful web-based relaxation and hypermedia-style APIs have gotten extra universal on a daily basis, yet rather than utilizing an identical ideas and styles to hypermedia consumers, many builders depend on customized patron code. With this useful advisor, you’ll the way to stream from one-off implementations to general-purpose buyer apps which are reliable, versatile, and reusable.
Author Mike Amundsen offers vast heritage, easy-to-follow examples, illustrative dialogues, and transparent strategies for construction potent hypermedia-based patron functions. alongside the way in which, you’ll easy methods to harness the various uncomplicated ideas that underpin the Web.
- Convert HTML-only internet apps right into a JSON API service
- Overcome the demanding situations of holding simple JSON-style patron apps
- Decouple the output layout from the inner item version with the representor pattern
- Explore customer apps outfitted with HAL—Hypertext software Language
- Tackle reusable consumers with the Request, Parse, Wait Loop (RPW) pattern
- Learn the professionals and cons of creating shopper apps with the Siren content material type
- Deal with API versioning by means of adopting a change-over-time aesthetic
- Compare how JSON, HAL, Siren, and Collection+JSON consumers deal with the Objects/Addresses/Actions Challenge
- Craft a unmarried customer program which can devour a number of services