Dakota Reno

Blog

Projects Update

Posted by Dakota Reno on October 29, 2012 at 7:30 PM Comments comments (0)

I am currently building SlimOS 2.0, a new generation of its older version SlimOS 1.0. View the original version on GitHub, here.

This version will include better graphics and GUI with an SDK. See GitHub for updates or my Blog.

HTML5 - The Storage Object (JavaScript)

Posted by Dakota Reno on March 27, 2012 at 7:05 PM Comments comments (0)

HTML5 Storage

Types of Storage:

  • localStorage
  • sessionStorage

window.localStorage

Usage:

var storage = [window.]localStorage;
// To set a property:
storage.replaceMe = setMe;
// or:
storage.setItem(replaceMe, setMe);
// To get a property:
var string = storage.replaceMe;
// or:
var string = storage.getItem(replaceMe);
Read Full Post »