Автор: Nicholas C. Zakas
Название: The Problem with Native javascript APIs
Издательство: O'Reilly Media
Год: 2012
ASIN: B008MYLMHG
Язык: English
Формат: pdf
Размер: 0,7 mb
Страниц: 16
Many features inspired by popular javascript libraries are now available as native javascript APIs in today’s powerful browsers. While that may seem convenient given all of the javascript you need to write, relying on these APIs will only make code maintenance more difficult in the long run.
In this report, Nicholas Zakas—consultant and former front-end tech leader at Yahoo!—provides a case study to show how different browsers can develop native APIs for the same specification and still end up with different interpretations. You’ll discover how these APIs can tie your code to specific browsers, forcing you to upgrade application logic whenever new browsers and new browser versions are released.