Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-27-2010, 08:33 AM   #1 (permalink)
Registered Member
 
LiquidChaz's Avatar
 
Join Date: Sep 2009
Location: New York City
Posts: 53
LiquidChaz is on a distinguished road
Question Synchronizing SQLite with a remote mySQL database

I need some help with a little theory here and I'm interested in hearing opinions and recommendations.

I'm creating a content store with in-app purchases. The store content is being managed by a remote mySQL database. I'd like the user to be able to browse the store offline so the idea is that I'd use a SQLite database locally that would sync with the remote database. Not only would this allow the user to browse offline, but it would also result in a faster experience since the app wouldn't have to contact a remote database while browsing.

The content in the database will be updated fairly infrequently (a few times a week). My question is... what's the best way to go about synchronizing the databases?

Am I going to run into any major issues developing the system in this manner?
__________________
Charles Scalesse

Latest Release:
Mad Bomber - A contemporary twist on the Atari 2600 classic, Kaboom!


Last edited by LiquidChaz; 05-27-2010 at 08:44 AM.
LiquidChaz is offline   Reply With Quote
Old 06-04-2010, 08:10 AM   #2 (permalink)
Registered Member
 
LiquidChaz's Avatar
 
Join Date: Sep 2009
Location: New York City
Posts: 53
LiquidChaz is on a distinguished road
Default

*bump*
__________________
Charles Scalesse

Latest Release:
Mad Bomber - A contemporary twist on the Atari 2600 classic, Kaboom!

LiquidChaz is offline   Reply With Quote
Old 06-04-2010, 09:31 AM   #3 (permalink)
Registered Member
 
Join Date: Nov 2008
Posts: 864
nobre84 is on a distinguished road
Default

If there is no data entry involved, you could just keep an update SQLite file on your server and download it when you see any changes pending...
nobre84 is offline   Reply With Quote
Old 09-14-2010, 01:29 AM   #4 (permalink)
Registered Member
 
Join Date: Jul 2010
Location: UK, North East
Posts: 227
zardon is on a distinguished road
Default

Quote:
Originally Posted by nobre84 View Post
If there is no data entry involved, you could just keep an update SQLite file on your server and download it when you see any changes pending...
I would try to KISS; you could have a page pulling in a XML/RSS feed of your latest in app-store purchases and store this in either a SQLite database or some other kind of file and you can simply display this as needed on a view -- obviousily you need to make it clear that the customer needs to be online to make in-app store purchases (I don't know how you check this, but you would need to do this).
zardon is offline   Reply With Quote
Reply

Bookmarks

Tags
database, in-app purchases, ipad, mysql, sqlite

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 318
10 members and 308 guests
ajay123123, ashaman64, baja_yu, ChrisYates, guusleijsten, HemiMG, newDev, Objective Zero, pkIDSF, Steven.C
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,648
Threads: 94,113
Posts: 402,878
Top Poster: BrianSlick (7,990)
Welcome to our newest member, brandon6031
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:53 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0