Save for later. i.e. long forms that are left incomplete.
Auto-save features. i.e. blog post.
Sync to database when online.
The biggest benefit for mobile web:
Sync to database when online.
as for database synching we are actually looking to integrate a great solution:
Given we already have Local Storage Manager, I wouldnāt have thought the Data Store component was a game changer from that point of view - but I donāt have a very clear idea yet of its potential. However, as you suggest, it could be leading up to new features which will be more āgame-changingā:
Yes. And/or perhaps itās related to the forthcoming ātask runnerā - which from my point of view could be a major game-changer.
Coming in Wappler 2.5.4 later today
For me and Ken, working with mobile and desktop, this will be very useful for offline synchronisation with our respective applications?
In the future I hope it will be useful for others besides you and Ken. I expect there a few people like me who are watching as the two of you do battle with the likes of Cordova and Android emulators. Once youāve won, the less brave might want to join in.
Could do with a few more of us!
For those who have used Angular and Vue js know very well how useful this is
Oh ya, weāll win. No doubt. Definitely learning a ton here and will be happy to share.
Good luck. I and many others I expect will be very grateful.
Had only just been starting to get my head around local and session storage, so I donāt quite have a context in which to put thisā¦
But in a nutshell is it a cleaner and more flexible interface to storing potentially complex data structures in either local or session locations?
I presume there is no way to read encrypted data from the database into the Data Store and then decrypt it client side?
Shopping carts, favorite lists, any custom data lists your users want to use ā¦ any dynamic data you want to get from your dynamic data source and reuse across all your pages.
I want to be able to
- read 1000 database contact records once and store them locally
- live search through the local copy
- update or add one record to the database.
- Load the updated or added record to the local copy of 1000.
- Keep on live searching locally.
The reason being I need to totally optimise my database hits to reduce my hosting costs when I have 1000s of usersā¦ And at the moment, live search hits the database each time you type a new letter into the name search!
Is what I wish to do easily done with the Data Store?
Yes, but I watched the shopping cart video and it all looked possible beforeā¦ So is it just much easier now?
Exactly.
Until now it was not easy to define your local storage schema, insert, update or delete data there as in the database updater UI. Now itās just a few clicks and no need to write any custom code.
Fabuloso!
And can you read a database table and store it straight into the Data Store, and the structure is taken from the table you read?
May be a silly question, but I am a newbie to Wappler and client side storageā¦ It did seem a bit of a black art so far! (So like very complicated)