Building Hypermedia APIs with HTML5 and Node by Amundsen Mike
Author:Amundsen, Mike [Mike Amundsen]
Language: eng
Format: epub
Tags: COMPUTERS / Programming Languages / JavaScript
ISBN: 9781449324568
Publisher: O'Reilly Media, Inc.
Published: 2011-11-22T16:00:00+00:00
Designing the Microblog Media Type
The aim of this example is to illustrate the process of designing hypermedia types using HTML5 as the base format. Unlike the previous examples, which were based on XML and JSON (both formats devoid of native hypermedia controls), this example starts with a format that already supports basic hypermedia factors.
Starting with HTML5 provides both advantages and drawbacks when designing a hypermedia solution. The good news is the details of document design (which elements are valid, etc.), the specific hypermedia controls, and the method of expressing state transitions are already decided. This means designers do not need to worry about how to define and document much of the hypermedia type. However, with so many details already decided, there is less room for expressing the problem domain in ways clients can easily understand.
This duality of well-defined hypermedia controls and a limit on the options for expressing the problem domain is the key challenge behind working with existing hypermedia types and is, in part, the reason so few new APIs use HTML5 as the base. For many, it seems easier to start from zero using a non-hypermedia type such as XML or JSON and create all of the details from the beginning. But sometimes this option is not available to designers. Instead, designers often must be sure their implementations work well with existing clients (e.g. web browsers) with little or no support from custom scripting or other client-side plug-ins.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Angular for Enterprise-Ready Web Applications by Doguhan Uluca(2197)
Teaching with Google Classroom by Michael Zhang(1292)
Learn TypeScript 3 by Building Web Applications by Sebastien Dubois(1245)
Refactoring TypeScript by James Hickey(1172)
Professional JavaScript by Philip Kirkbride & Vinicius Isola & Siyuan Gao & Hugo Di Francesco(916)
Professional JavaScript for Web Developers by Matt Frisbie(823)
Interactive Data Visualization for the Web by Scott Murray(758)
Data Structures and Algorithms with JavaScript by Michael McMillan(671)
Node.js Design Patterns by Mario Casciaro && Luciano Mammino(634)
Mastering JavaFX 8 Controls by Ebbers Hendrik(581)
PHP, MySQL, & JavaScript All-in-One For Dummies by Richard Blum(580)
JavaScript For Kids For Dummies by Chris Minnick & Eva Holland(573)
Automating System Administration with Perl by David N. Blank-Edelman(545)
JavaScript and JQuery: Interactive Front-End Web Development by Jon Duckett(520)
React Native Blueprints by Emilio Rodriguez Martinez(499)
The Road to GraphQL by Robin Wieruch(483)
JavaScript and AJAX For Dummies by Andy Harris(479)
AWS Lambda in Action: Event-driven serverless applications by Danilo Poccia(475)
Node.js for Embedded Systems by Patrick Mulder(473)
