Giter Site home page Giter Site logo

super-simple-backbone-starter-kit's Introduction

Super Simple Backbone Starter Kit

Dependencies (already included)

  • RequireJS 2.0.2 included in /libs
  • RequireJS Text plug-in 2.0.0 included in /libs
  • jQuery 1.10.2 hot-linked from Google APIs
  • Backbone 1.10.2 hot-linked from CDNJS
  • Underscore 1.5.2 hot-linked from CDNJS
  • Twitter Bootstrap 3.0.2 included in /css, /js, /fonts

Installation

Just download/fork/clone and launch index.html in a browser with HTTP server. You can use simple npm http-server: https://npmjs.org/package/http-server

Why?

I found Backbone Boilerplate too complicated and too big for the boilerplate.

Another good sample app Sample App with Backbone.js and Twitter Bootstrap

More tutorials https://github.com/documentcloud/backbone/wiki/Tutorials%2C-blog-posts-and-example-sites

To do

  • Add models and collections
  • Add extra page with examples

super-simple-backbone-starter-kit's People

Contributors

asavin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

super-simple-backbone-starter-kit's Issues

This is not an issue but how to implement

Hello,
I want to show BackGrid on a view. I have created a view like follows:

    GridView = Backbone.View.extend({
    el: "#content",
    template: gridTpl,
    initialize: function() {
        // Initialize a new Grid instance
        var grid = new Backgrid.Grid({
          columns: columns,
          collection: territories
        });

        // Render the grid and attach the root to your HTML document
        $("#example-1-result").append(grid.render().el);

        // Fetch some countries from the url
        territories.fetch({reset: true});
    },
    render: function() {
        $(this.el).html(_.template(this.template));
    }
});

'example-1-result' is a DIV tag in the new template file(grid.html). Why the grid is not showing in '#content' ->'#example-1-result' ?
Please find the detailed question :
http://stackoverflow.com/questions/24797135/backbone-and-backgrid-with-super-simple-backbone-starter-kit

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.