Any good recommendation of database for me to develop in the Windows Phone 8.1 Silverlight? There're SQLite, SQL Server CE 4.0. But I heard some of them still not compatible with the Windows Phone 8.1, so which database I can use for Windows Phone 8.1 Silverlight? And there're any tutorial for me to do the database for the Windows Phone 8.1 Silverlight? Anyone can help me? Please...
2 Answers
1
votes
-1
votes
Old question, but I couldn't spare my self.
Don't use sql in WP8(is it even allowed?) and client applications overall, it's bad architechture, really bad and dangerous. Databases belongs on backends that host Webservices, like forinstance WCF with JSON and/or SOAP. It also lets the backend to the heavy db lifting.
Use Object Relation Models or Entitites for your data you get from the backend, and let the backend do all db magic independent off db type. It makes it so much easier for your client code as well, as you can just bind to these datamodels.
NHibernate is a pretty good provider, and I would reccomend you to have a look at it.
Cheers
Stian