dbh5: Manipulate data in localstorage or sessionstorage

Recommend this page to a friend!
  Info   View files View files (25)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-11-28 (6 days ago) RSS 2.0 feedNot enough user ratingsTotal: 84 All time: 444 This week: 2Up
Version License JavaScript version Categories
dbhtml5 1.0.1Custom (specified...5Browser, Data types
Description Author

This object can manipulate data in localstorage or sessionstorage.

It can get, add, and remove pages of data values to be stored on the browser local or session storage.

Each data value is an array that contains one or more item entries. It can also add, update and delete items.

Picture of Karl Holz
  Performance   Level  
Name: Karl Holz <contact>
Classes: 4 packages by
Country: Canada Canada
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Details

DBH5

DBH5 is a class for using the HTML5 browser storage, it stores the key/value pairs as key for page, value as JSON Array document. There have been some updates made since I released this file with my powertech tools, minor fixes and and an AngularJS front end to test it out. The storage limit should be 5-10Mb depending on your browser and settings

Browser Storage Options

By default this class is designed to use the localStorage, but you can override it with

> dbh5.db = sessionStorage;

Before calling a function in this class. take a look at the example used in the index.html

Coolio

Now go any play around with the tester and see all the posiblities that this lil'class can do for your project.

  • Shopping Card
  • playlists
  • client applications

I'm sure you can think of more!

Enjoy this treat, get some Java and do some Scripting ;)

  Files folder image Files  
File Role Description
Files folder imagecss (5 files)
Files folder imagejs (2 directories)
Plain text file dbh5.js Class Class source
Accessible without login Image file favicon.ico Data Auxiliary data
Accessible without login Plain text file index.html Example Example
Accessible without login Plain text file LICENCE.txt Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file app.css Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.min.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data

  Files folder image Files  /  js  
File Role Description
Files folder imageangular (3 files)
Files folder imagemobile-angular-ui (6 files, 1 directory)

  Files folder image Files  /  js  /  angular  
File Role Description
  Accessible without login Plain text file angular.min.js Aux. Auxiliary script
  Accessible without login Plain text file angular.min.js.map Data Auxiliary data
  Accessible without login Plain text file errors.json Data Auxiliary data

  Files folder image Files  /  js  /  mobile-angular-ui  
File Role Description
Files folder imagedist (3 directories)
  Accessible without login Plain text file bower.json Data Auxiliary data
  Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
  Accessible without login Plain text file Gruntfile.js Aux. Auxiliary script
  Accessible without login Plain text file LICENSE Data Auxiliary data
  Accessible without login Plain text file package.json Data Auxiliary data
  Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  js  /  mobile-angular-ui  /  dist  
File Role Description
Files folder imagecss (3 files)
Files folder imagefonts (1 file)
Files folder imagejs (2 files)

  Files folder image Files  /  js  /  mobile-angular-ui  /  dist  /  css  
File Role Description
  Accessible without login Plain text file mobile-angular-ui-base.min.css Data Auxiliary data
  Accessible without login Plain text file mobile-angular-ui-desktop.min.css Data Auxiliary data
  Accessible without login Plain text file mobile-angular-ui-hover.min.css Data Auxiliary data

  Files folder image Files  /  js  /  mobile-angular-ui  /  dist  /  fonts  
File Role Description
  Accessible without login Plain text file fontawesome-webfont.svg Data Auxiliary data

  Files folder image Files  /  js  /  mobile-angular-ui  /  dist  /  js  
File Role Description
  Accessible without login Plain text file mobile-angular-ui.js Aux. Auxiliary script
  Accessible without login Plain text file mobile-angular-ui.min.js Aux. Auxiliary script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:84
This week:0
All time:444
This week:2Up