The Problem with Native JavaScript APIs

Why reliance on native JavaScript APIs leads to disadvantages



Bookstore > Books > The Problem with Native JavaScript APIs

Rating
AuthorNicholas C. Zakas
PublisherO'Reilly Media
Published2012
Pages16
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101449339956
ISBN-139781449339951
EBook Hardcover Paperback

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.


  1. (8 books)


Similar Books


Building Hybrid Android Apps with Java and JavaScript

Building Hybrid Android Apps with Java and JavaScript

by Nizamettin Gok, Nitin Khanna

Build HTML5-based hybrid applications for Android with a mix of native Java and JavaScript components, without using third-party libraries and wrappers such as PhoneGap or Titanium. This concise, hands-on book takes you through the entire process, from setting up your development environment to deploying your product to an app store.Learn...

Price:  $7.44  |  Publisher:  O'Reilly Media  |  Release:  2013

Learning React Native, 2nd Edition

Learning React Native, 2nd Edition

by Bonnie Eisenman

Get a practical introduction to React Native, the JavaScript framework for writing and deploying fully featured mobile apps that render natively. The second edition of this hands-on guide shows you how to build applications that target iOS, Android, and other mobile platforms instead of browsers - apps that can access platform features su...

Price:  $37.63  |  Publisher:  O'Reilly Media  |  Release:  2017

React and React Native, 4th Edition

React and React Native, 4th Edition

by Adam Boduch, Roy Derks, Mikhail Sakhniuk

Over the years, React and React Native has proven itself among JavaScript developers as a popular choice for a complete and practical guide to the React ecosystem. This fourth edition comes with the latest features, enhancements, and fixes to align with React 18, while also being compatible with React Native. It includes new chapters cove...

Price:  $39.99  |  Publisher:  Packt Publishing  |  Release:  2022

The Jamstack Book

The Jamstack Book

by Raymond Camden, Brian Rinaldi

Jamstack sites use JavaScript, APIs, and Markup to create fast, dynamic pages without the overhead of heavyweight frameworks. The Jamstack Book is your essential guide to this exciting new web architecture. Written by renowned Jamstack experts Raymond Camden and Brian Rinaldi, it's filled with real-world projects to develop and hone ...

Price:  $49.99  |  Publisher:  Manning  |  Release:  2022

Pro JavaScript with MooTools

Pro JavaScript with MooTools

by Mark Obcena

Go beyond JavaScript basics-learn advanced JavaScript features and techniques, as well as how to put MooTools to work to create both browser and desktop applications.Pro JavaScript with MooTools is unlike any other JavaScript book on the market today. While similar books focus on either JavaScript as a language of the browser or how to us...

Price:  $8.99  |  Publisher:  Apress  |  Release:  2010

Head First HTML5 Programming

Head First HTML5 Programming

by Eric Freeman, Elisabeth Robson

HTML has been on a wild ride. Sure, HTML started as a mere markup language, but more recently HTML's put on some major muscle. Now we've got a language tuned for building web applications with Web storage, 2D drawing, offline support, sockets and threads, and more. And to speak this language you've got to go beyond HTML5 ma...

Price:  $4.07  |  Publisher:  O'Reilly Media  |  Release:  2011

Building Progressive Web Apps

Building Progressive Web Apps

by Tal Ater

Move over native apps. New progressive web apps have capabilities that will soon make you obsolete. With this hands-on guide, web developers and business execs will learn how - and why - to develop web apps that take advantage of features that have so far been exclusive to native apps. Features that include fast load times, push notificat...

Price:  $35.12  |  Publisher:  O'Reilly Media  |  Release:  2017

vCenter Troubleshooting

vCenter Troubleshooting

by Chuck Mills

vCenter is the main component of vSphere and also the primary interface that administrators use to set up, manage, and monitor the vSphere environment.This book will show you how to solve some common problems you face with vCenter. We will cover troubleshooting of vCenter areas such as SQL databases, single sign-on (SSO), password issues,...

Price:  $29.99  |  Publisher:  Packt Publishing  |  Release:  2015