Building Hypermedia APIs with HTML5 and Node

Front Cover
"O'Reilly Media, Inc.", Nov 30, 2011 - Computers - 219 pages
5 Reviews

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
  

What people are saying - Write a review

User ratings

5 stars
1
4 stars
3
3 stars
1
2 stars
0
1 star
0

Review: Building Hypermedia APIs with HTML5 and Node

User Review  - Brannon - Goodreads

This is a very timely book for defining Hypermedia. I really like the examples used in the book, and the author goes into depth on each example. Read full review

Review: Building Hypermedia APIs with HTML5 and Node

User Review  - Ryan - Goodreads

The book articulated many of the principles of Hypermedia that I've wondered about but never was able to quite put my finger on them. Mike's book helped me to organize these principles in my head and showed me how to put them into practice. Very enlightening. Read full review

Contents

Chapter 1 Understanding Hypermedia
1
Chapter 2 XML Hypermedia
35
Chapter 3 JSON Hypermedia
57
Chapter 4 HTML5 Hypermedia
95
Chapter 5 Documenting Hypermedia
135
Afterword
169
Appendix A References
171
Appendix B Additional Reading
177
Appendix C Maze+XML Media Type
179
Appendix D Collection+JSON Media Type
187
Appendix E Microblogging HTML Semantic Profile
199
Appendix F IANA Media Type Registration Document
209
Appendix G IETF Link Relations Internet Draft
211
Appendix H Source Code Software and Installation Notes
217
Copyright

Common terms and phrases

About the author (2011)

An internationally known author and lecturer, Mike Amundsen travels throughout the United States and Europe consulting and speaking on a wide range of topics including distributed network architecture, Web application development, Cloud computing, and other subjects. His recent work focuses on the role hypermedia plays in creating and maintaining applications that can successfully evolve over time. He has more than a dozen books to his credit and recently contributed to the book "RESTful Web Services Cookbook" (by Subbu Allamaraju). When he is not working, Mike enjoys spending time with his family in Kentucky, USA.

Bibliographic information