2011 | 242 Pages | ISBN: 1449306578 | PDF | 7 MB
With this concise book, youll learn the art of building hypermedia APIs that dont simply run on the Web, but that actually exist in the Web. Youll 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 dont scale wellcostly 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 they scale.
•Learn the H-Factors for representing application metadata across all media types and formats
•Understand the four basic design elements for authoring hypermedia types
•Convert a simple read-only XML-based media type into a successful API design
•Examine the challenges and advantages of designing a hypermedia type with JSON
•Use HTML5s rich set of hypermedia controls in the API design process
•Learn the details of documenting, publishing, and registering media type designs and link-relation types