
Building Hypermedia APIs with HTML5 and Node
by Michael Amundsen · first published 2011
3mentions
2recommended by
2HN commenters
2012–2016first – last mentioned
100% recommend
You'll learn the art of building hypermedia APIs that don't simply run on the Web, but that actually exist in the Web. You'll start with the general principles and technologies behind this architectural approach, and then dive hands-on into three fully-functional API examples.Too many APIs rely on concepts rooted in desktop and local area network patterns that don't scale well--costly solutions that are difficult to maintain over time. This book shows system architects and web developers how to design and implement human- and machine-readable web services that remain stable and flexible as the
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
REST in Practice[1], Building Hypermedia APIs with HTML5 and Node[2] and Designing Hypermedia APIs[3]. 1. https://www.amazon.com/REST-Practice-Hypermedia-Systems-Arch... 2. https://www.amazon.com/Building-Hypermedia-APIs-HTML5-Node/d... 3. http://www.designinghypermediaapis.com/
on “Ask HN: What is your go-to example for a good REST API?” ↗…underlying JSON-LD, and wonder if the C+J and LD ideas could be melded together. A solid exploration of the larger concepts involved in hypermedia controls can be found in Mike Amundsen's recent book: Building Hypermedia APIs with HTML5 and Node http://shop.oreilly.com/product/0636920020530.do The basic idea is that, per Fielding, HATEOAS is an aspect of REST that shouldn't be ignored. Standardized media types with well-defined hypermedia controls…
on “Rich Hickey: extensible data notation” ↗…Application-Level Profile Semantics http://amundsen.com/hypermedia/profiles/ By leveraging some or all of the details of the API, machine-to-machine logic can be developed fairly easily. In his recent book Building Hypermedia APIs with HTML5 and Node, Mike Amundsen demonstrates an example of a "microblogging bot" that consumes an API conforming to the semantic profile detailed in the ALPS document. The bot (written in JavaScript), knowing only the…
on “Using HTML as the Media Type for your API” ↗