Book description
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
Publisher resources
Table of contents
- Foreword
- Dedication
- Preface
- 1. Understanding Hypermedia
- 2. XML Hypermedia
- 3. JSON Hypermedia
- 4. HTML5 Hypermedia
-
5. Documenting Hypermedia
- Requirements, Compliance, and RFC 2119
- Documenting Media Type Designs
- Extending and Versioning Media Types
- Registering Media Types and Link Relations
- Design and Implementation Tips
- A. Afterword
- B. References
- C. Additional Reading
- D. Maze+XML Media Type
- E. Collection+JSON Media Type
- F. Microblogging HTML Semantic Profile
- G. IANA Media Type Registration Document
- H. IETF Link Relations Internet Draft
- I. Source Code, Software, and Installation Notes
- About the Author
- Copyright
Product information
- Title: Building Hypermedia APIs with HTML5 and Node
- Author(s):
- Release date: November 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449306571
You might also like
book
The CLI Book: Writing Successful Command Line Interfaces with Node.js
Learn everything that makes command line clients such as Git and npm so successful, and how …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
Node.js Web Development
Build scalable web applications using Node.js, Express.js, and the latest ECMAScript techniques, along with deploying applications …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …