ampersand-model icon indicating copy to clipboard operation
ampersand-model copied to clipboard

configurable Sync strategies for models + collections

Open funkytek opened this issue 10 years ago • 0 comments

looking to create alternative sync implementations (localstorage, firebase etc) and need ability and a consistent strategy. I think this merits some discussion since it spans models & collections and there are varying layers of abstraction

  • ampersand-model encapsulates fetch, destroy, sync like backbone but it's sync implementation is hard-coded - need to be able to inject a sync strategy
  • ampersand-collection does not have fetch etc, this exists rather in collection-rest-mixin but it also hard-codes it's sync strategy (will open an issue on collection)

funkytek avatar Sep 06 '14 00:09 funkytek