Building Hypermedia APIs with HTML5 and Node
With this concise book, 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 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 HTML5’s 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
Table of Contents
Chapter 1 Understanding Hypermedia
Chapter 2 XML Hypermedia
Chapter 3 JSON Hypermedia
Chapter 4 HTML5 Hypermedia
Chapter 5 Documenting Hypermedia
Appendix Afterword
Appendix References
Appendix Additional Reading
Appendix Maze+XML Media Type
Appendix Collection+JSON Media Type
Appendix Microblogging HTML Semantic Profile
Appendix IANA Media Type Registration Document
Appendix IETF Link Relations Internet Draft
Appendix Source Code, Software, and Installation Notes
Book Details
- Paperback: 242 pages
- Publisher: O’Reilly Media (November 2011)
- Language: English
- ISBN-10: 1449306578
- ISBN-13: 978-1449306571