手机版
你好,游客 登录 注册
背景:
阅读新闻

BackBone 1.0 发布,JavaScript 的 MVC 框架

[日期:2013-03-21] 来源:oschina.net  作者:Linux [字体:大 中 小]

著名的 JavaScript 的 MVC 框架 BackBone.js 今天发布 1.0 版本。详情请看 发行说明。

主要改进包括:

  • 引入 collection.set() 用来更新集合的内容
  • The addition of the mirrored listenTo function in the Events mixin — which makes it easier to automatically unbind events when views are removed.
  • 支持 HTTP PATCH 请求, sending only the changed state of your model to the server, instead of the full representation.
  • New useful data-inspecting and filtering methods like where, pick, and omit.
  • Many refactors, streamlinings, and optimizations to the core events and changes internal machinery.
  • Beefed out literate documentation of the source code.

Backbone.js 是一种重量级javascript MVC 应用框架,通过Models进行key-value绑定及custom事件处理,通过Collections提供一套丰富的API用于枚举功能,通过 Views来进行事件处理及与现有的Application通过RESTful JSON接口进行交互.

linux
相关资讯       BackBone 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款