8. Project Structure
Structure at the Github:
App
Gruntfile.js
Bower.json
Package.json
Structure at the local:
dist
App
bower_components
node_modules
Gruntfile.js
Bower.json
Package.json
For above structure run the following commands:
Run -> npm install
Run -> bower install
Run -> grunt serve
9. Browser Storage
Local Storage - It persists over different tabs or windows, and even if we close the
browser.
Session Storage - It is only available for the duration of the browser session (and is
deleted when the tab or window is closed).
Cache - It store data in cache. As soon as you refresh the page, it's gone.
Cookies – Local and session storage can store up to 5mb data, But cookies can store
only 4kb data in text format.
The stored data has no expiration date in local storage. With cookies, you can set the
expiration duration.
10. Browser Storage
Local Storage - It persists over different tabs or windows, and even if we close the
browser.
Session Storage - It is only available for the duration of the browser session (and is
deleted when the tab or window is closed).
Cache - It store data in cache. As soon as you refresh the page, it's gone.
Cookies – Local and session storage can store up to 5mb data, But cookies can store
only 4kb data in text format.
The stored data has no expiration date in local storage. With cookies, you can set the
expiration duration.