Backbone.js is a JavaScript library that provides structure to RESTful web applications.
0
votes
1answer
13 views
Where to place JQuery (set :visibility via CSS) in a BackBone View
I think this question ultimately boils down to where I should place the JQuery code, and I am unsure for backbone.js.
I have a nested div :
<div>Parent
<div class='pull-right ...
0
votes
1answer
15 views
Backbone.js validate model
I expected, when call model.set() method in view, the validate function should run,
but I test with the below code, it never call the validate function that is defined in Model.
Anybody know what I am ...
-1
votes
1answer
10 views
Backbone.js model urlRoot probelm webapp folder name getting appended twice
i'm working on a web app with backbone.js +codeigniter
the directory structure is as follows
shelfari/codeigniter/..
shelfari/js
shelfari/css
shelfari/index.html
Accessing my web app as ...
0
votes
0answers
20 views
Difference between $(this.el) and this.$el in Backbone
I'm developing a single-page web application using Backbone and Laravel. I've set my router to use pushState and configured Laravel to send all other requests to the main view of the backbone ...
1
vote
0answers
16 views
Why are my jQuery hide events not firing and my Backbone sub view not rendering?
Now Solved - See bottom....
I've got a Backbone list view with a button on it that should show the edit elements.
Neither the jQuery hide() call in the 'showAddEntry' function or the view rendering ...
-2
votes
2answers
41 views
how to model my data is angular js? Does something like Backbone.Model will fit?
I am using angular-js and I am looking for a way to model my data. I am inspired by Backbone and started to write something similar to Backbone model. In Backbone model there are get() and set() ...
1
vote
1answer
38 views
Managing multiple views for a Backbone collection
I'm creating a Backbone app with a section to view reports; the section has three parts: a menu of report links, the title of the displayed report, and the content of the displayed report. The user is ...
0
votes
1answer
6 views
Adding additional plugins to BBB's grunt file
I inherited a project that uses BBB (Backbone Boilerplate Buddy).
I am trying to modify the grunt file by adding this particular task that I noticed wasn't included in BBB. The following code is a ...
0
votes
3answers
4k views
Origin http://localhost is not allowed by Access-Control-Allow-Origin
I'm trying to do a fetch from backbone.js to my node.js server. However, I get the following error in the console:
Origin http://localhost is not allowed by Access-Control-Allow-Origin.
I added the ...
1
vote
0answers
10 views
Using Fat-Free PHP for Backbone.js routing with external Model.php files
I'm very new to Fat-Free and Backbone.js. I've been searching and reading articles and searching and reading articles trying to find a way to route to individual PHP files containing the database ...
0
votes
2answers
17 views
Shopify API from external app? (backbone.js)
I'm working with a client to develop two sites: a site with general information about their business, and a separate e-commerce store to sell the products they offer. To my knowledge, this is a fairly ...
2
votes
1answer
41 views
Backbone.js: Binding event to template button
I'm building an application with Backbone.js where a list of items and a placeholder "new" item are displayed. The container is a view that holds all the sub-views and renders them.
I have searched ...
1
vote
1answer
21 views
Exposing an API from a Backbone Application [on hold]
Background:
I just finished developing an simple application using Backbone and requirejs. I had previously written the application using the revealing module pattern which allowed me to expose an ...
0
votes
1answer
26 views
Handling anchor tag click using marionette
What i want is to handle the anchor button click inside my Marionette.ItemView events. I don't want to use href in anchor tag. I want to handle the click in my itemview and ask the backbone approuter ...
0
votes
2answers
156 views
Web framework with user-friendly desktop deployment?
I'm building a web app with Backbone.js (I'm not tied to Backbone yet though). I need a back-end framework only for persistence to a database via a RESTful API. However, I also need to able to deploy ...