Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Chapter 25
Emerging APIs
WHAT’S IN THIS CHAPTER?
The introduction of HTML5 also spurred a tremendous growth in JavaScript APIs aimed at the future of web applications. These APIs are not part of the HTML5 specification but rather exist in their own specifications that are often bundled “HTML5 Related APIs”. All of the APIs in this chapter are still undergoing a fair amount of work and are not fully stable.
Despite that, browsers have already begun implementing the various APIs, and web application developers have begun using them. You’ll note that many of these APIs have browser-specific prefixes in front of them, such as “ms” for Microsoft or “webkit” for Chrome and Safari. These prefixes allow browsers to experiment with new APIs while they are still in development, knowing that the final, nonprefixed version will be consistent with other browsers.