|
Project Information
Members
Featured
Downloads
Links
|
With the current trend of offline applications and solutions as Joyent Slingshot or Rails2Exe to run a stand-alone offline client app written in Rails, we end up having a problem ahead of us: offline data gathering and synchronization back and forth to a main online server. There is virtually no solution for that matter unless you use some proprietary and expensive package. Google Gears comes to mind but it acts more like a static client-side caching providing no real replication of data. So 'acts_as_replica' was really made to scratch my own itch. It was made for the scenario where you will have several clients working in an offline environment and then they'll connect at the end of the day to get new data from the server and also send back what it collected through out the day. This is a very opinionated software, meaning that it was not made to cover every single synchronization scenario in the world, but small and mid-sized solutions should benefit. It uses HTTP to wire both peers and up until now formats the payload packages in YAML. This plugin was very influenced by the plugin acts_as_syncable by Alex MacCaw. Actually I used his code as the initial structure but it's now very far departure from his original view. This project was done under the support of my current employer, Surgeworks. I am not done yet, so this is a work in progress. Any collaboration and ideas will be welcome. Read the HowToInstall, MustRead and HowToTest Wiki Pages for more information. And don't forget to download the Example Project so you can have a faster hands on. If you have any suggestions, doubts, ideas contact me at fabio.akita@surgeworks.com. Apr, 3rd, 2008 - Moving to GitI am abandoning Subversion management. I will leave this homepage behind but the source code here is frozen. Newer updates will be only at Github. http://github.com/akitaonrails/acts_as_replica/tree/master I am very late updating this code, sorry for that, I will try to make it more user friendlier now. Sep, 23th, 2007 - Lots of ChangesI just uploaded a batch of new features and bug fixes to the plugin. I finally had time to test it further and I am much more confident about it.
Jul, 8th 2007 - New Project MemberI just added Marcus Derencius, a good friend of mine, as a contributor. He pointed out somethings that we could add to this project:
Jul, 17th 2007 - Merged with UserstampI realized that the vanilla Userstamp plugin doesn't work properly with this plugin. Until I devise a better way, I merged the userstamp.rb in the lib folder of the plugin. The belongs_to proxy method fails in some cases and the usage of the UUID can conflict as well. So delete the original userstamp plugin and use the one in this plugin. |
