The Problem with Native JavaScript APIs

The Problem with Native JavaScript APIs by [Zakas, Nicholas C.]
The Problem with Native JavaScript APIs
by Nicholas C. Zakas (Author)
File Size: 1079 KB
Print Pages 页数: 16 pages
Publisher Finelybook 出版社: O'Reilly Media; 1 edition (19 July 2012)
Language 语言: English
ISBN-13 书号:9781449339951
ASIN: B008MYLMHG
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.

Contents


The Problem with Native JavaScript APIs 1
Issues with Native APIs 2
Case Study: matchMedia() 3
Facades and Polyfills 5
What to Do? 6

下载地址 Download隐藏内容需1积分,请先!没有帐号? 注 册 一个!
觉得文章有用就打赏一下文章作者
未经允许不得转载:finelybook » The Problem with Native JavaScript APIs
分享到: 更多 (0)

评论 2

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #0

    链接失效

    135209201892个月前 (02-25)回复

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏