Skip to Main Content
High Performance JavaScript
book

High Performance JavaScript

by Nicholas C. Zakas
March 2010
Intermediate to advanced content levelIntermediate to advanced
229 pages
6h 18m
English
O'Reilly Media, Inc.
Content preview from High Performance JavaScript

Preface

When JavaScript was first introduced as part of Netscape Navigator in 1996, performance wasn’t that important. The Internet was in its infancy and it was, in all ways, slow. From dial-up connections to underpowered home computers, surfing the Web was more often a lesson in patience than anything else. Users expected to wait for web pages to load, and when the page successfully loaded, it was a cause for celebration.

JavaScript’s original goal was to improve the user experience of web pages. Instead of going back to the server for simple tasks such as form validation, JavaScript allowed embedding of this functionality directly in the page. Doing so saved a rather long trip back to the server. Imagine the frustration of filling out a long form, submitting it, and then waiting 30–60 seconds just to get a message back indicating that you had filled in a single field incorrectly. JavaScript can rightfully be credited with saving early Internet users a lot of time.

The Internet Evolves

Over the decade that followed, computers and the Internet continued to evolve. To start, both got much faster. The rapid speed-up of microprocessors, the availability of cheap memory, and the appearance of fiber optic connections pushed the Internet into a new age. With high-speed connections more available than ever, web pages started becoming heavier, embedding more information and multimedia. The Web had changed from a fairly bland landscape of interlinked documents into one filled with different ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On JavaScript High Performance

Hands-On JavaScript High Performance

Justin Scherer
Multithreaded Javascript

Multithreaded Javascript

Thomas Hunter, Bryan English

Publisher Resources

ISBN: 9781449382308Errata Page