locked
Backbone js RRS feed

  • Question

  • My company wants to put an existing Sharepoint 2013 project into Azure.  And we want to use backbone js.  Would I have to use JSOM to do this? 

    Tuesday, August 4, 2015 7:52 PM

Answers

  • Hey webdev,

    Not 100% what you're asking (and I don't think it's related to this forum), but if you wanted to talk to Sharepoint from a Web page and utilize Backbone.js, you need to think in terms of a Backbone.js Model. The important part being the sync function (http://backbonejs.org/#Model-sync). Optimally, Backbone.js works off of a proper REST api, but Sharepoint is a bit more complicated and that might not map 1:1. You can override the sync function to use the JavaScript APIs that SharePoint has to achieve the functionality you're looking for. https://msdn.microsoft.com/en-us/library/office/jj193034.aspx

    Tuesday, August 4, 2015 8:55 PM