Giter Site home page Giter Site logo

reconbot / backbone-tablesorter Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 0.0 668 KB

A backbone.JS powered table generation and sorter library that respects your Views()

Home Page: http://reconbot.github.com/backbone-tablesorter/

JavaScript 100.00%

backbone-tablesorter's Introduction

This is a very functional Backbone.js table sorter plugin that respects your views(). Its primary usecase (to be abstracted away into a subclass) is currently to show you some rows and let you swap out or add another row that has more details. I imagine you'll want to do something else with it. I made this because I wanted people to be able to sort things while not destroying all their work.

Lets play with the demo!

I the backbone-tablesorter promise to:

  • Not destroy your views unless you destory my models
  • Not care about your rendering or updating, that's between you and your model.
  • Keep all your bindings
  • Do the annoying sutff for you
  • Love twitter bootstrap but not make you marry it
  • Love mustache.js but not make you marry it either
  • Require backone.js underscore.js and jquery
  • (I don't know about this zepto fellow but I'll gladly support him if it does the right stuff.)

I will never do:

  • Re-render your models to sort
  • Drink too much coffeescript
  • Care what you do in the sanctity of your own tr

I only ask that you the model:

  • Keep yourself a tr, I don't care about anything else
  • Emit events when you'd like me to swap you out
  • Only join a collection who's either a SortableList or knows one personally. (If you do a good impression that will fly too.)

backbone-tablesorter's People

Contributors

reconbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.