The Problem with Native JavaScript APIs

Why reliance on native JavaScript APIs leads to disadvantages

作 者:
Nicholas C. Zakas
日 期:
2011年12月
ISBN:
9781449339951

简介

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.

下载

公众号订阅号
请扫描二维码进入公众号发送消息 geekgist 获取提取码

消息“GeekGist”不区分大小写,提取码有效期为一个月左右,输入后会自动存储在本地,下次无需重复输入。