https://github.com/lastmjs/base-jumpers-anonymous
https://github.com/lastmjs/base-jumpers-anonymous
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lastmjs/base-jumpers-anonymous
- Owner: lastmjs
- License: mit
- Created: 2015-10-08T02:05:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-13T03:40:04.000Z (about 10 years ago)
- Last Synced: 2025-03-13T05:31:33.825Z (9 months ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# base-jumpers-anonymous
This is a sample project showing a simple pattern for client-side storage in AngularJS. All interactions with the database
are abstracted through model objects, implemented as services in AngularJS. Those model services can then be injected as dependencies wherever
database access is needed. Keeping interactions with the database encapsulated inside of model services allows
easy swapping of databases. Only the model services' code needs to be changed, controllers and other code remain unchanged.