Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any open source examples of offline-online synchronization?

Are there any open source applications that demonstrate good techniques of online-offline synchronization of databases, something like Remember The Milk does with their iPhone app, Google Gears offline mode, etc.?

like image 804
Swaroop C H Avatar asked Mar 21 '09 02:03

Swaroop C H


2 Answers

The Unison file synchronizer is a magnificent tool, but its source code is not for the faint of heart. You didn't ask for academic papers but I have written one I'm proud of. There was some perl code to go with that one but I'm not sure if it's of any use. If you want it send me an email.

like image 199
Norman Ramsey Avatar answered Oct 28 '22 03:10

Norman Ramsey


google gears itself is open source. you'll want to look at the localserver module.

check out code.google.com/p/gears for the main developer site, and the LocalServer source. Although gears is a complex piece of software because it has lots of components (browser plugin interface, integration with javascript, SQLite integration, etc...), it is fairly well factored, so the LocalServer source is pretty easy to follow.

like image 28
Aaron Avatar answered Oct 28 '22 04:10

Aaron