O'Reilly logo

Learning JavaScript: A Hands-On Guide to the Fundamentals of Modern JavaScript by Tim Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5. Storing Data in JavaScript

Storing data is core functionality of JavaScript. It doesn’t make things swoosh around the page, slide, fade in/out, or draw the user’s eye. But properly storing your data will make it well organized and easy to access later in your application, which is one of those magic pieces about creating a great user experience that the user is completely ignorant about (in a good way—they don’t notice it). Quick and easy access to data, brilliant!

In this chapter, you learn the different methods of storing data within a JavaScript model. Some methods are internal to your own personal scripting file and some are consumed externally. Externally generated data can be produced by a database local to your application or an external ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required