drewmccormack / ensembles

A synchronization framework for Core Data.
MIT License
1.63k stars 131 forks source link

Support for syncing entities as plain files (e.g. json/xml/plist)? #135

Closed jverkoey closed 10 years ago

jverkoey commented 10 years ago

Is this something that is supported (or planned to be) by Ensembles? I was just playing with the sample app and noticed that it looks like the db is getting synced as binary data.

Storing the data as a db is bit of a deal-breaker for me sadly because it'll mean it's incredibly difficult to work with any synced data on a system that doesn't have Core Data. If that's not the use case being targeted for though then I'll sadly have to part ways and look into other approaches.

Either way, keep up the awesome work!

drewmccormack commented 10 years ago

I have certainly thought about adding the option of using different formats for transaction logs (eg JSON). This is achievable.

But you need to realize that the framework works by transferring transaction logs or deltas. To use the data on a web service, you would need to reform the data store. It would not be trivial.

Ensembles is purely for syncing core data stores at this point. Anything more would be a stretch.

jverkoey commented 10 years ago

Understandable :) Thanks for clarifying!