A set of best practices and utilities for building Backbone.js applications.
Questions tagged [backbone-boilerplate]
31 questions
10
votes
1 answer
Backbone Routes Not Being Called
I have a strange issue I haven't been able to figure out as of yet. It's very simple which is probably why I'm having trouble with it :)
First, here's the routing table...
routes: {
'': 'root', //called
'report': 'report', // called
…

Brandon
- 1,399
- 4
- 20
- 37
8
votes
2 answers
Trouble with RequireJS optimizer config, bbb release
I'm using RequireJS, backbone boilerplate with layout manager, JamJS to help manage packages, and everything works fine in development, but when I try to create a production version with concatenated files it doesn't work.
It looks like the shim in…

Evan
- 5,975
- 8
- 34
- 63
8
votes
5 answers
how do I control caching for releases with PHP, headers, etc for a backbone project?
So we are doing weekly releases of our project and we are running into problems with clients having old stale versions of certain files.
The stack is backbone with requirejs with backbone boilerplate and an Apache2 server with PHP backend.
We…

Evan
- 5,975
- 8
- 34
- 63
4
votes
1 answer
Multiple pages with Backbone.js
I am using the Backbone Boilerplate https://github.com/tbranyen/backbone-boilerplate and don't know what's the best way to handle more than one page. I cannot find answer that helps me understand easily. Basically, I am thinking of those…

HP.
- 19,226
- 53
- 154
- 253
3
votes
3 answers
Backbone LayoutManager Re-Render SubViews
I'm using BBB with the great LayoutManager for the views.
Unfortunately, i can't find a way to re-render specific subviews. Here is my setting:
Home.Views.Layout = Backbone.Layout.extend({
template: "home/home",
el: "#main",
views: {
…

fabian_p
- 107
- 1
- 7
3
votes
1 answer
Backbone Boilerplate Conditional Comments
Can someone tell me the significance of the conditional comments within the index.html of the Backbone Boilerplate (https://github.com/tbranyen/backbone-boilerplate/blob/master/index.html)?

jigglyT101
- 984
- 1
- 15
- 33
3
votes
2 answers
Node.js express rest + Backbone Boilerplate (BBB)
I have developed a rest service using express and node.js. I've previously used backbone-boilerplate with a stand alone java rest service, running on different server instances.
Now I want to integrate bbb with my node rest server for easy deploying…

user1824302
- 31
- 3
3
votes
4 answers
async template loading and post-render actions with Backbone
I'm using backbone boilerplate to render my templates, its fetchTemplate method caches the rendered templates.
I would like to run some extra code on the rendered content, like initialize accordions, etc, but to do this with an async compiled…

Akasha
- 2,162
- 1
- 29
- 47
2
votes
1 answer
How to properly import HighCharts with Backbone-boilerplate in an ECMAScript 2015 way?
I'm using the latest Backbone-boilerplate, which adopts ECMAScript 2015 as a default grammar. I'm planning on using HighCharts on this project but stuck with an import issue of Highcharts.
My implementation is as follows.
home.js (which is the…

Lee Han Kyeol
- 2,371
- 2
- 29
- 44
2
votes
1 answer
Backbone Layout Manager subview's events doesn't work after reload
I'm using the Backbone Layout Manager Boilerplate. Unfortunately, a quite frustrating bug occurred. I like render a list of items as subviews inserted by insertView function. At the first load everthing works fine. But after a reload the the click…

Patrick Michelberger
- 151
- 1
- 7
2
votes
0 answers
bbb qunit testing
I use backbone boilerplate for my project and have a problems with testing it. For tests I use QUnit. For example, test collection:
tests/index.html
...qunit.js, qunit.css, other libraries...