简体   繁体   中英

Backbone.js with a 3rd party API

I am thinking of using Backbone.js for a new application I am developing. My application is a web mapping application using the ESRI Javascript API and the data is in ESRI Feature Services.

I have been looking at the documentation and tutorials for Backbone.js, but I can't figure out how I would create a model that can retrieve or edit data from an ESRI Feature Service.

How can I make my model retrieve and edit data in a specific way so that is using the methods required by this 3rd party API instead of the traditional HTTP GET, POST, PUT, and DELETE methods?

您可以覆盖Model.sync, 查看文档

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM