Building Hypermedia APIs with HTML5 and Node: Creating Evolvable Hypermedia ApplicationsWith 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.
|
Contents
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 |
Other editions - View all
Common terms and phrases
APIs application flow Atom Publishing Protocol base format browsers cell child elements child property client applications clients and servers Collection+JSON document Collection+JSON media type contain CouchDB create data array data elements data format data types defined delete designated user domain-agnostic domain-specific error example existing following descendant elements function function(req H-Factors href href property HTML5 hypermedia APIs hypermedia controls hypermedia design hypermedia type IANA idempotent identified IETF implementation input type="submit Internet-Draft items array JavaScript JSON link relation types link relation values link template list representation markup maze Maze+XML media type media type design metadata Microblog Microformats Node.js OpenSearch options possible POST problem domain prompt RDFa read-only reference rel attribute render represents request require resource response representation Roy Fielding sample semantics span specific STRING style task template object transitions update user’s valid XHTML XMLHttpRequest XMPP YAML