A couple of weeks ago, I got a great question from a reader of Head First HTML5 Programming:
What is a API? Is it like a constructor function or is it just an object or something else?
An API is an Application Programming Interface. If you write some software that can be used by another piece of software, the API is what specifies how to do it.
Thanks for a great question!
I picked up Building Hypermedia APIs with HTML5 and Node by Mike Amundsen hoping to learn more about HTML5, Node.js and how they are used to build web applications. Instead, the book primarily offers specific hypermedia solutions to the “type-marshaling” problem, that is, the problem of communicating between clients and servers. For instance, if the server publishes a schema that the client uses, and then that schema changes, all the clients break.