sen-team8 / da-dash

0 stars 10 forks source link

Storing application state locally and on server #9

Open kepta opened 8 years ago

kepta commented 8 years ago

I would like to have da-dash store the session on server. It should save on both server and locally, and decide which one to use. We can have it save the entire redux object. @flibertigibet what do you think?

flibertigibet commented 8 years ago

fb_rearch

Something like this but firebase instead of mongo. I think it'll be faster and user can work offline

kepta commented 8 years ago

Well I don't know what you mean by offline, since it is a web app. Can you explain a bit more. The diagrams are for a desktop app right?

flibertigibet commented 8 years ago

http://thejackalofjavascript.com/re-architecting-a-firebase-app-in-node/

The diagrams are for a web app.

I was reading from this and what I meant is that is it possible to have some of the user data stored locally on the client's filesystem so that he can use some functionality of the dashboard even when offline. Like his todo list. And later sync the local and server when he's online.

P.S. I have very little idea about this.

kepta commented 8 years ago

Yes exactly, we will store the data at both client side and on server side. The server side copy would be a clone of the client side. We would need to implement a way to intelligently manage these two.