最新文章列表

Part 8: Understanding Backbone.js Events

In this article, we will look at events in Backbone.js. We will see how backbone provides us events and how we can use backbone events in our application. Background Events are a vital part of any ap ...
since1027 评论(1) 有828人浏览 2016-06-22 10:34

Part 7: Understanding Backbone.js Routes and History

In this article, we will try to look at Routes in Backbone.js. We will try to understand how routes can be useful in a large scale single page applications and how we can use routes to perform action b ...
since1027 评论(0) 有559人浏览 2016-06-22 09:52

Part 6: Understanding Backbone.js Views

In this article, we will try to look at the View classes in Backbone.js and see how view classes help us in updating the relevant parts of the application easily. Background The biggest problem while ...
since1027 评论(0) 有724人浏览 2016-06-22 09:50

Part 5: Understanding Backbone.js Collections

In this article we will discuss about Backbone.js collections. We will see how we can use collections to manipulate a group of models and how we can use restul API to easily fetch and save collections. ...
since1027 评论(0) 有642人浏览 2016-06-21 14:39

Part 2: Understanding the basics of Backbone Models

When we talk about any MV* pattern, model is undoubtedly the most important part of the architecture/application. Its the model that contains all the application data. Along with keeping the data the m ...
since1027 评论(0) 有656人浏览 2016-06-21 12:55

Part 1: Introduction to Backbone.Js

It was a long time ago (almost a decade back) when most software applications were getting built as standalone applications. These applications were targeted at a single user and ran on their operating ...
since1027 评论(0) 有726人浏览 2016-06-21 11:12

Backbone和ReactJS的整合

Hello-React-Backbone   地址猛戳这里,PPT请看这里 目的:做Backbone和ReactJS的整合,该例子使用了Backbone的Model和ReactJS整合,可以认为是ReactJS替换掉了Backbone的View,这个是入门小例子 。 实现内容:通过传递的json数据构建Backbone的Model,将数据展现出来,点击按钮,修改数据,展示修改后的数据 ...
zhangzhaoaaa 评论(0) 有1754人浏览 2015-07-22 19:15

Backbone1.0.0数据验证的变化

0.5.3版本对Model数据验证时,绑定Error就可以了: (function(){ var Model = Backbone.Model.extend({ initialize : function(){ this.bind('err
kingwell.leng 评论(0) 有814人浏览 2014-07-10 09:48

backbone实例Todo源码赏析

作者:zccst Todo实例花了我两天多的事件,为了下次再忘记,决定记录下来: $(function(){ /******************** 模型-集合 ********************/ var Todo = Backbone.Model.extend({ defaults:function(){//defaults是函数 return {t ...
zccst 评论(0) 有1282人浏览 2014-07-06 17:11

Backbone的监听事件

作者:zccst 之前简单熟悉了一下,看了一两个例子,就以为已经掌握了,就停滞不前了。 直到在项目中真正用到,才知道自己是多么无知。下定决心: ...
zccst 评论(0) 有3270人浏览 2014-07-06 16:01

backbone初步(秒味课堂)

作者:zccst 作为一个大型程序框架,backbone的思路是很好的 下面就好好学习一下 基本使用: 1,直接创建对象 2,给构造函数添加实例方法和静态方法 3,继承操作 4,自定义事件 5,数据与服务器 6,路由与历史管理 7,事件委托 8,前端模板 举例: 1,直接创建对象 var o = Backbone.Model(); 2,给构造函数添加实例方法和静态方法 3,继承操作 A是 ...
zccst 评论(0) 有2725人浏览 2014-06-25 22:25

backbone.js路由Router的使用

路由的使用很简单,路由的转向 router.navigate(fragment, [options]) 其中options的参数为trigger和replace 两个参数的使用方法 router.navigate('/document/some', {trigger:true}) trigger参数说明 1、trigger=true,则调用注册该路由的回调函数 2、trigger=fals ...
powertech 评论(0) 有1583人浏览 2014-05-09 11:33

Backbone模型

现在进入最关键的组件 - 模型。模型用来存储应用的所有数据,以及直接和数据操作相关的逻辑。Backbone中的模型类是Backbone.Model,它包含了数据存储, ...
zhouyrt 评论(0) 有1112人浏览 2014-05-05 11:09

backbone之Backbone.$

     本文介绍一下 Backbone.$   If you have multiple copies of jQuery on the page, or simply want to tell Backbone to use a particular object as its DOM / Ajax library, this is the property for you.   ...
zhangyaochun 评论(0) 有1396人浏览 2014-04-06 16:51

【新闻】backbone1.0

     本文来自:http://www.infoq.com/cn/news/2013/04/backbone.js-1.0        依赖:   依赖underscore 视图和路由依赖jquery或者zepto  
zhangyaochun 评论(0) 有1213人浏览 2014-04-06 16:31

javascript MVC框架学习笔记

一、开篇 源于单页web app应用的开发效率低下,最近了解了一下javascript MVC开发相关资料 之前对javascript的了解仅仅是停留在能较熟练的使用jquery上。 ...
xtuhcy 评论(0) 有1911人浏览 2014-02-28 14:18

springmvc Backbone实现的一个demo代码

通过前端js mvc framwork Backbone调用springmvc可以对联系人进行增删改查。 代码下载地址:springmvc Backbone实现的一个demo代码 访问localhost后如下图:   原创不易,转载请注明出处http://www.zuidaima.com/share/1550463401970688.htm
yaerfeng1989 评论(0) 有740人浏览 2014-02-22 11:11

bootstrap jquery underscore backbone 新浪微博 springmvc整合demo代码

通过StatusController来Get获取新浪微博的api接口 https://api.weibo.com/2/statuses/public_timeline.json?access_token=2.00LW_xGCF2AIzC77d75c9d320hAXql&count=20获取得到微博列表。 效果如下图: 虽然实现了简单的效果,但通过该代码已经基本把通过backbon ...
yaerfeng1989 评论(0) 有1122人浏览 2014-02-21 09:56

使用backbonejs的router功能

来源: http://css.dzone.com/articles/using-routers-backbonejs demo: http://demos-sagarganatra.appspot.com/backbone/backboneRouter.html#
flex_莫冲 评论(0) 有967人浏览 2014-01-02 12:13

最近博客热门TAG

Java(141747) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54918) .net(54785) Web(54513) 工作(54116) Linux(50906) Oracle(49876) 应用服务器(43288) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37268) 数据结构(36423)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics