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
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Hands-On RESTful API Design Patterns and Best Practices
Build effective RESTful APIs for enterprise with design patterns and REST framework's out-of-the-box capabilities Key Features …