Git Product home page Git Product logo

backbone's Introduction

Backbone

适合大型应用的开发

backbone Api: http://backbonejs.org/
backbone 源码: http://github.com/jashkenas/backbone
backbone ToDo: http://backbonejs.org/examples/todos/index.html
backbone Learn Note: https://github.com/the5fire/backbonejs-learning-note

中文网:http://www.css88.com/doc/backbone-0.5.3/

<script src="http://the5fireblog.b0.upaiyun.com/staticfile/jquery-1.10.2.js"></script>
<script src="http://the5fireblog.b0.upaiyun.com/staticfile/underscore.js"></script>
<script src="http://the5fireblog.b0.upaiyun.com/staticfile/backbone.js"></script>

backbone的唯一依赖库underscore:

backbone是有jeremy ashkenas创建的一个轻量级MVC JavaScript库,具有以下特点:
1.强制依赖于underscore.js 2.非强制依赖于jQuery/Zepto

单页面应用(single page application,简称SPA),是指在浏览器中运行的应用,它们在使用期间不会重新加载页面。

它将所有的活动局限于一个web页面中,仅在该web页面初始化时加载相应的html、css、和JavaScript。一旦页面加载完成,SPA不会因为用户的操作而重新加载页面或跳转。它利用JavaScript动态变化html的内容,从而实现ui与用户的交互。由于避免了页面的重新加载,SPA可以提供较为流畅的用户体验。

单页面应用的优点: 1.前后端分离 2.减轻服务器的压力 3.更好的用户体验

单页面应用的缺点: 1.SEO问题 2.浏览器历史记录问题 3.初次加载较多资源问题

单页面应用的示例:
alibaba message center:http://message.alibaba.com
trello:http://trello.com
usa today:http://usatoday.com
documentCloud:http://www.documentcloud.org

backbone's People

Contributors

viki-119 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.