Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save config in backend database #87

Closed
SteveALee opened this issue May 14, 2016 · 7 comments
Closed

Save config in backend database #87

SteveALee opened this issue May 14, 2016 · 7 comments
Assignees
Labels

Comments

@SteveALee
Copy link
Member

SteveALee commented May 14, 2016

No description provided.

@SteveALee
Copy link
Member Author

See amazon-archives/amazon-cognito-js#27

Testing problems in a spike

@SteveALee
Copy link
Member Author

This is not working out. Moving to Azure but sync not supported so will need to write / read db

https://medium.com/@luijar/rxjs-pouchdb-persistent-data-flows-480f503ee41f#.gph4nyu6d

@SteveALee SteveALee changed the title Move config to Cognito sync Save config in backend database May 30, 2016
@matlun
Copy link

matlun commented May 30, 2016

Hmm, how big a task do you estimate that this will be?
Have you considered MongoDB. I cannot give any first-hand information about it, but a US programmer new to JS that I've been chatting with is quite positive about his experiences with it in terms of quickly get it up and running. He's using it together with Meteor. However, every new thing has its learning curve of course.

@SteveALee
Copy link
Member Author

SteveALee commented May 31, 2016

@matlun

Hmm, how big a task do you estimate that this will be?

A very good question and a reminder I've not been adding estimates to the tasks here (though they are relative "story points" not elapsed time)

I actually already had this as a task and just renamed it. We need to do it because

  1. we have to upload the images so config should be stored there as well.
  2. It acts as a backup - currently the data could easily be lost from the browser local storage.

Ideally we'd use offline sync to do it automagically but Azure doesn't have that (see #96). Bu I have been looking at examples and I estimate 3 days - but that also includes setting up MBaaS (Mobile Backend as a service) backend with user log in

Have you considered MongoDB.

Yes it's very popular NoSQL. To be honest I'm not too bothered what backend as they all pretty much offer similar functionality. What's more import is how easily we can access it from the client. PouchDB / Couch DB combination looked great if I was doing from scratch. However as were using a MBaaS approach we're restricted to the DB provided. All providers I looked at offer a NoSQL and SQL options. I'll go NoSQL to start wit has faster dev (no Schema)

He's using it together with Meteor. However, every new thing has its learning curve of course.

I looked very carefully at Meteor some time back. My concerns were that there i a lot of "Magic", even allowing for the fact you need to disable much of it when moving from the simple demos they provide. The clincher was I could find very few people who used it in real projects

@SteveALee
Copy link
Member Author

redo using kinvey! Has clean SDK that uses RxJS! Easy sync settings too!

@SteveALee
Copy link
Member Author

@matlun FYI - kinvey uses MongoDB - though it's pretty much hidden from the client code

@SteveALee
Copy link
Member Author

SteveALee commented Jun 29, 2016

Back to Azure and possibly Easy Tables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants