The Problem with Native JavaScript APIs

· "O'Reilly Media, Inc."
157 āļĢāļĩāļ§āļīāļ§
eBook
16
āļŦāļ™āđ‰āļē
āđ€āļ„āļĢāļ·āđˆāļ­āļ‡āļĄāļ·āļ­
āļĄāļĩāļŠāļīāļ—āļ˜āļīāđŒ

āđ€āļāļĩāđˆāļĒāļ§āļāļąāļš eBook āđ€āļĨāđˆāļĄāļ™āļĩāđ‰

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.

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 t...

āļŠāļģāļĢāļ§āļˆāļŦāļ™āļąāļ‡āļŠāļ·āļ­āđ€āļĨāđˆāļĄāļ­āļ·āđˆāļ™āđ†

āļāļēāļĢāđƒāļŦāđ‰āļ„āļ°āđāļ™āļ™āđāļĨāļ°āļĢāļĩāļ§āļīāļ§

157 āļĢāļĩāļ§āļīāļ§

āđ€āļāļĩāđˆāļĒāļ§āļāļąāļšāļœāļđāđ‰āđāļ•āđˆāļ‡

Nicholas C. Zakas is a front-end consultant, author, and speaker. He worked at Yahoo! for almost five years, where he was front-end tech lead for the Yahoo! homepage and a contributor to the YUI library. He is the author of Professional JavaScript for Web Developers (Wrox, 2012), Professional Ajax (Wrox, 2007), and High Performance JavaScript(O’Reilly, 2010). Nicholas is a strong advocate for development best practices including progressive enhancement, accessibility, performance, scalability, and maintainability. He blogs regularly at http://www.nczonline.net/ and can be found on Twitter via @slicknet.

Nicholas C. Zakas is a front-end consultant, author, and speaker. He worked at Yahoo! for almost five years, where he was front-end tech lead for the Yahoo! homepage and a contributor to the YUI library. He is the author of Professional JavaScript for Web Developers (Wrox, 2012), Professional Aja...

āđƒāļŦāđ‰āļ„āļ°āđāļ™āļ™ eBook āļ™āļĩāđ‰

āđāļŠāļ”āļ‡āļ„āļ§āļēāļĄāđ€āļŦāđ‡āļ™āļ‚āļ­āļ‡āļ„āļļāļ“āđƒāļŦāđ‰āđ€āļĢāļēāļĢāļąāļšāļĢāļđāđ‰

āļ‚āđ‰āļ­āļĄāļđāļĨāđƒāļ™āļāļēāļĢāļ­āđˆāļēāļ™

āļŠāļĄāļēāļĢāđŒāļ—āđ‚āļŸāļ™āđāļĨāļ°āđāļ—āđ‡āļšāđ€āļĨāđ‡āļ•
āļ•āļīāļ”āļ•āļąāđ‰āļ‡āđāļ­āļ› Google Play Books āļŠāļģāļŦāļĢāļąāļš Android āđāļĨāļ° iPad/iPhone āđāļ­āļ›āļˆāļ°āļ‹āļīāļ‡āļ„āđŒāđ‚āļ”āļĒāļ­āļąāļ•āđ‚āļ™āļĄāļąāļ•āļīāļāļąāļšāļšāļąāļāļŠāļĩāļ‚āļ­āļ‡āļ„āļļāļ“ āđāļĨāļ°āļŠāđˆāļ§āļĒāđƒāļŦāđ‰āļ„āļļāļ“āļ­āđˆāļēāļ™āđāļšāļšāļ­āļ­āļ™āđ„āļĨāļ™āđŒāļŦāļĢāļ·āļ­āļ­āļ­āļŸāđ„āļĨāļ™āđŒāđ„āļ”āđ‰āļ—āļļāļāļ—āļĩāđˆ
āđāļĨāđ‡āļ›āļ—āđ‡āļ­āļ›āđāļĨāļ°āļ„āļ­āļĄāļžāļīāļ§āđ€āļ•āļ­āļĢāđŒ
āļ„āļļāļ“āļŸāļąāļ‡āļŦāļ™āļąāļ‡āļŠāļ·āļ­āđ€āļŠāļĩāļĒāļ‡āļ—āļĩāđˆāļ‹āļ·āđ‰āļ­āļˆāļēāļ Google Play āđ‚āļ”āļĒāđƒāļŠāđ‰āđ€āļ§āđ‡āļšāđ€āļšāļĢāļēāļ§āđŒāđ€āļ‹āļ­āļĢāđŒāđƒāļ™āļ„āļ­āļĄāļžāļīāļ§āđ€āļ•āļ­āļĢāđŒāđ„āļ”āđ‰
eReader āđāļĨāļ°āļ­āļļāļ›āļāļĢāļ“āđŒāļ­āļ·āđˆāļ™āđ†
āļŦāļēāļāļ•āđ‰āļ­āļ‡āļāļēāļĢāļ­āđˆāļēāļ™āļšāļ™āļ­āļļāļ›āļāļĢāļ“āđŒ e-ink āđ€āļŠāđˆāļ™ Kobo eReader āļ„āļļāļ“āļˆāļ°āļ•āđ‰āļ­āļ‡āļ”āļēāļ§āļ™āđŒāđ‚āļŦāļĨāļ”āđāļĨāļ°āđ‚āļ­āļ™āđ„āļŸāļĨāđŒāđ„āļ›āļĒāļąāļ‡āļ­āļļāļ›āļāļĢāļ“āđŒāļ‚āļ­āļ‡āļ„āļļāļ“ āđ‚āļ›āļĢāļ”āļ—āļģāļ•āļēāļĄāļ§āļīāļ˜āļĩāļāļēāļĢāļ­āļĒāđˆāļēāļ‡āļĨāļ°āđ€āļ­āļĩāļĒāļ”āđƒāļ™āļĻāļđāļ™āļĒāđŒāļŠāđˆāļ§āļĒāđ€āļŦāļĨāļ·āļ­āđ€āļžāļ·āđˆāļ­āđ‚āļ­āļ™āđ„āļŸāļĨāđŒāđ„āļ›āļĒāļąāļ‡ eReader āļ—āļĩāđˆāļĢāļ­āļ‡āļĢāļąāļš

āļĢāļēāļĒāļāļēāļĢāļ­āļ·āđˆāļ™āđ† āļ—āļĩāđˆāđ€āļ‚āļĩāļĒāļ™āđ‚āļ”āļĒ Nicholas C. Zakas

eBook āļ—āļĩāđˆāļ„āļĨāđ‰āļēāļĒāļāļąāļ™