Tag Archives: storage

(JavaScript) Augment Storage Prototype with getObject, setObject

Provides getter/setter functionality for objects in local storage. Utilizes JSON.stringify and JSON.parse.

Posted in JavaScript | Also tagged , , , , , , | Leave a comment

Persistent local storage with HTML5 Web Storage

HTML5 supports local storage with key-value pairs. The specification for local storage in HTML5 is called “Web Storage“. Storage is demonstrated in the example below by storing and retrieving an array of actors.

Posted in JavaScript | Also tagged , , , , , , , , , , | Leave a comment