Tag Archives: getitem

Creating A Client-Side Javascript Shopping Cart

Session storage is a new feature introduced by the W3C’s “Web Storage” specification. It’s supported in Internet Explorer 8+, Firefox, Chrome, Safari and Opera Desktop (for a complete list, please consult “Can I Use”). In this series of articles, we’ll cover in depth a practical implementation of session storage by creating a complete e-commerce shopping cart with the sessionStorage object and jQuery.
Bear in mind that, in these articles, I’m not going to propose a new technique to replace existing server-side techniques, but rather just a proof of concept of session storage.

Excerpt from: 

Creating A Client-Side Javascript Shopping Cart

Local Storage And How To Use It On Websites

Storing information locally on a user’s computer is a powerful strategy for a developer who is creating something for the Web. In this article, we’ll look at how easy it is to store information on a computer to read later and explain what you can use that for. [Links checked & repaired March/03/2017]
Further Reading on SmashingMag: Auto-Save User’s Input In Your Forms With HTML5 And Sisyphus.js Keeping Web Users Safe By Sanitizing Input Data An In-Depth Introduction To Ember.

From: 

Local Storage And How To Use It On Websites