Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

Questions tagged [backbone.js]

Backbone.js is a JavaScript framework that provides structure to RESTful web applications.

Filter by
Sorted by
Tagged with
2 votes
0 answers
87 views

Show a subview in Backbone.Marionette

I use Marionette for my JavaScript application (requirejs for module structure). Application has router and controller. When starting, application renders the root view. Controller executes actions on ...
Evgeniy's user avatar
  • 121
6 votes
1 answer
2k views

Backbone.js dynamic table

I have been trying to learn backbone.js and I thought the best way to learn it is by writing a dynamic table (i.e. add, edit and delete rows of data). I am very familiar with Node.js (back-end). Any ...
Node.JS's user avatar
  • 429
2 votes
0 answers
256 views

Generating a carousel slider

I'm currently using Backbone to generate a carousel slider. In my View, I have an initialize function that looks like this: <...
DaveyJake's user avatar
  • 121
2 votes
0 answers
31 views

Backbone View creates Favorites Pane

But it looks like it is getting to big. How can I break this up into smaller pieces? In general this seems messy and I'm trying to make it more readable. ...
Chris Aaker's user avatar
3 votes
5 answers
279 views

Selectable date filters

I created a simple app with Backbone and Marionette. In a view I created an onRender function. I created a page that displays a Report with a date filter, using a select tag and affect to an input ...
Engkus Kusnadi's user avatar
3 votes
0 answers
45 views

Backbone.model based state machine

I have created a class to keep track of some internal states. You can see it as a very simple implementation of a state machine ...
Anthony Kong's user avatar
0 votes
1 answer
56 views

Backbone view that "starts" the application

I use the the View below to get things started. I'm not interested in Marionette. This code is what is constructed when the application first loads. It in turn loads the composite view which is ...
arc frame 0's user avatar
2 votes
1 answer
268 views

Shipping calculator consisting of one field

A made a shipping calculator, which consists of one field that is validated. jsFiddle HTML: ...
cyklop77's user avatar
  • 311
1 vote
1 answer
107 views

Backbone subviews and switch

ActiveWindow is like the main container and below the subviews. Router trigger activewindow.render(options) then the switch operates. Is it fine to do that Or how ...
François Richard's user avatar
2 votes
0 answers
50 views

JavaScript AJAX page flipper

I rarely see this kind of navigating on the web. But basically I load all the content in the background and then flip pages as needed while loading user specific data via ajax. Are there any ...
so tool monkey 1's user avatar
2 votes
1 answer
73 views

Rendering comments in a Backbone view

I want to make show/hide logic more maintainable in my codebase. Because they are too faraway located in separate js files, it hard for people to maintain. The flow in my codebase is: require.js ...
poc's user avatar
  • 605
6 votes
1 answer
405 views

Secret Santa Application : Practical Interview Test

I was given a practical task as part of an interview for a front-end developer position. There is a follow up interview and I'm looking for some constructive criticism / tough love to help me prepare. ...
brianf's user avatar
  • 171
1 vote
1 answer
841 views

Managing collection views, adding/removing views, and listening for events

I have two collections - Movies and Watchlist. Both of these have Views that output ...
styler's user avatar
  • 233
4 votes
0 answers
93 views

Backbone learning piece, Movie Application using Views, Collection, Models, Routes and Localstorage

I have created a Backbone Movie app as part of a learning exercise, the app is hosted on codepen although I actually have it built on my local but thought this approach would be handier for code ...
styler's user avatar
  • 233
0 votes
1 answer
73 views

Backbone view for logging a user in

I'm looking for a general peer review on already working code. Just the overall structure and of course any gotchas like DRYness or logic issues. ...
cade galt's user avatar
  • 161

15 30 50 per page
1
2 3 4 5