Best Database

Hi All,


My application has aa sign up and login page and allows users to upload photos and comment on the same. Also will allow users to add a map like google map.


Kindly advise which database is best to use. MySQL, SQL lite, Parse, CloudKit.


🙂

Don't forget about Core Data. It's integrated with iCloud automatically, too, so you won't have to bother figuring out how to use CloudKit.

Thank you for your response. Is it safe to save all the customers username and passwords using Core Data?

I think he's talking about the server side. If that's the case there's no "best" answer for all cases. They all have their pros and cons. If you use CloudKit it's not very cross platform, but Apple handles the back end which is nice.

You may want to save the username and the SHA1 hash of the pasword. Then you never have the password in your database but you can tell if the user knows the password by comparing the hash.


I find CloudKit more approachable than Code Data. It can be accessed from outside iOS using:

https://developer.apple.com/library/prerelease/ios/documentation/DataManagement/Conceptual/CloutKitWebServicesReference/Introduction/Introduction.html

See this link for details on saving hash, etc.

h t t p : / / www.raywenderlich.com/6475/basic-security-in-ios-5-tutorial-part-1

That's awesome!


I honestly had no idea that CloudKit was a database. That's really good to know Thank you for that!


Daniel S. Bess

Best Database
 
 
Q