0

I have an OData(v3) endpoint that will be used with a mobile Backbone application.

I am trying to integrate Jaydata to avoid building the OData queries.

I am still developing my Backbone skills and I am not sure how to integrate Jaydata with my Models/Collections.

My first assumption is that I need to override the sync method but I am not sure this is the way to go.

Any suggestions or examples would be great.

If you have an alternative to Jaydata for my problem that would also be great.

Thanks

thedev
  • 2,816
  • 8
  • 34
  • 47

2 Answers2

3

Just as an interims solution till JayData's Backbone adapter is ready ;-). For an example that connects Backbone to an OData v2 provider (SharePoint) check out https://github.com/lstak/Backbone.SharePoint/blob/master/backbone-sharepoint.odata.js. This shows you how to leverage Backbone's sync method to accomplish CRUD operations. No fancy OData function support of course.

RainerAtSpirit
  • 3,723
  • 1
  • 17
  • 18
2

We do plan to support backbone in the nearest future. I think that you can have a pre-release version within a few weeks maybe sooner. Cheers Gabor

Gabor Dolla
  • 2,680
  • 4
  • 14
  • 13