doujuyang1764
2014-05-07 11:40 阅读 62

使用backbone.js和其他服务器脚本语言将数据存储在mysql中

I am fresher for backbone.js and go through the following.

http://adrianmejia.com/blog/2012/09/13/backbonejs-for-absolute-beginners-getting-started-part-3/

It's stored data locally. But i want to store data in mysql database.

So, any one can suggest that how can i do this?

if server scripting language required i would like to use PHP.

Thank you

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    dongzhuang5741 dongzhuang5741 2014-05-07 11:50

    assuming the data is saved in model using

    model.save([attributes], [options]) 
    

    will Save a model to your database

    refer this : http://backbonejs.org/#Model-save

    点赞 1 评论 复制链接分享

相关推荐