?
Solved

Using MS SQL / SQLLite for iPhone  App

Posted on 2016-11-07
7
Medium Priority
?
92 Views
Last Modified: 2016-11-07
I have a relational 10-15 Table which is about Business, Activities, Recreation  in the Town. This is very small database designed in SQL.

I have to design an iPhone App to retrieve the data and Read only mode.

Do i need to have SQLLite database on the App ? If so, does the data from SQL is communicated to SQLLite through API ?

By the way, iPhone is expected to be coded using XAMARIN Environment - C#.
0
Comment
Question by:chokka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 40

Expert Comment

by:lcohan
ID: 41877791
"Do i need to have SQLLite database on the App" - you need to access it via your "App" (and eventually to trigger sync before read) as it is already on IOS and Android devices. For sync-ing to IOS looks like someone did that already in xamarin:

https://forums.xamarin.com/discussion/5719/sync-sqlite-with-sql-server-merge-replication

SyncStudio https://apkpure.com/syncstudio-sync-client/com.syncstudioB4A.client looks like will have some IOS nugget in the future as per comments here: https://www.dbsyncstudio.com/challenges-of-mobile-db-sync/
0
 

Author Comment

by:chokka
ID: 41877810
@ICohan, I am in the Designing Phase. My question is, whether iPhone App requires to have both server as well as client based database ? Or, iPhone App can be developed only with Sqllite database.
0
 
LVL 40

Accepted Solution

by:
lcohan earned 2000 total points
ID: 41877836
Sorry if I misunderstood the essence of your question -  yes, SQLlite on your device should be enough in my opinion to host the data for your local app.
 
https://www.sqlite.org/whentouse.html

Now...if you need to deploy the app on multiple devices (which is more like it in my opinion) you'll have the local SQL lite client database sync-ed to a MS SQL for instance (if is small DB - up to max 2GB) you could even use free SQL Express if I'm not mistaken as your "server" repository where data from all clients is centralized/merged and sync-ed to all the devices as needed. Or use MySQL for your "server" (which I believe it is still free) if you think you'll have more than 2GB of data in your "Server" database.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:chokka
ID: 41877878
Thank you so much @Icohan.  I firmly believe size of my database would be less than 0.5 GB or little less than 1 GB. Yes, App will be deployed at least minimum of 50 - 100 users.

As per my understanding on your comment, I will have to have a Server based Database - SQL Express and SQLLite for App based database.
0
 
LVL 40

Expert Comment

by:lcohan
ID: 41877885
Right that should do it for sure and keep in mind to sync only what/when necessary from "server" SQL to "client" SQLLite database.
0
 

Author Comment

by:chokka
ID: 41877895
Thank you so much. That works...!!
0
 

Author Closing Comment

by:chokka
ID: 41877896
Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
How to take pictures with depth using iOS 10
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question