Questions tagged [javascriptmvc]

JavaScriptMVC is an open source jQuery-based JavaScript framework for developing JavaScript application using traditional MVC architecture.

JavaScriptMVC is an open-source Rich Internet Application framework based on and OpenAjax. It extends those libraries with a model–view–controller architecture and tools for testing and deployment. As it does not depend on server components, it can be combined with any web service interface and server-side language.

It consists of the following standalone components:

JavaScriptMVC is MIT licensed with the following exceptions:

  • Rhino - JS command line (MPL 1.1) Selenium
  • Browser Automation (Apache 2)

More Information

191 questions
40
votes
3 answers

Authentication for users on a Single Page App?

I have developed a single page app prototype that is using Backbone on the front end and going to consume from a thin RESTful API on the server for it's data. Coming from heavy server side application development (php and python), I have really…
38
votes
3 answers

Failed to execute 'pushState' on 'History' error when using window.history.pushState function

I'm using window.history in JavascriptMVC application to enable back/forward/refresh functionality for each controller. Every time I load a new controller I'm using window.history.pushState to add a new state to history. And then on back/refresh…
Boltosaurus
  • 2,138
  • 3
  • 21
  • 33
24
votes
7 answers

React alternatives

We use an event driven JavaScript MVC framework in our application, but have performance problems with larger data sets. We've implemented many of the same techniques used in React to alleviate our issues (render on intervals, compare data state and…
noah
  • 21,289
  • 17
  • 64
  • 88
22
votes
2 answers

Creating a loosely-coupled & multi-page JS application using Core(Mediator) / Sandbox(Facade) / Module pattern -- advice?

I'm building a multi-page javascript application. I've read a lot into design patterns, and creating applications using a Core/Facade/Module approach w/ loose coupling (pub/sub scribing to events). I have a pretty good system worked out that…
Casey Flynn
  • 13,654
  • 23
  • 103
  • 194
20
votes
1 answer

How do I use MiniProfiler with a single page web app / REST backend?

I have a single page javascript application (done with JavascriptMvc) and a backend with REST services built on top of ASP.NET MVC3 (done with NServiceMVC). The REST services have MiniProfiler installed and running, and the X-MiniProfiler-Ids…
gregmac
  • 24,276
  • 10
  • 87
  • 118
20
votes
2 answers

BackboneJS vs JavaScriptMVC vs KnockoutJS

I want to use a JavaScript framework for a complex web application. I have been looking at Backbone.js, knockout.js and JavaScriptMVC. Being pretty new to client side JavaScript heavy web apps, I'm not sure which one to pick. Each one has a pretty…
Drew
  • 1,332
  • 3
  • 15
  • 21
19
votes
4 answers

Using Backbone.js offline

I'm evaluating Backbone.js for keeping data and UI synchronized in my web app. However, much of Backbone's value seems to lie in its use of RESTful interfaces. Though I may add server-side backup in the future, my primary use case involves storing…
Luke Dennis
  • 14,212
  • 17
  • 56
  • 69
15
votes
1 answer

Backbone.js - Adding keydown events when view is active?

I have a view called gallery that options. I want to listen and act on keydown events when the gallery is rendered (until it's closed). How do I do this in backbone events? I've tried all variations of 'keydown X':function and none have worked.
Pauly Dee
  • 737
  • 2
  • 9
  • 17
14
votes
3 answers

How to combine JMVC (javascript-mvc) and server side MVC together

I have asked this quesion few days before here and no one answered it. I had asked it in forum.javascriptMVC.com too and now I have a answer, however I need a a bit more idea. Question: I read javascriptMVC's documents and I loved it. But I don't…
Sina R.
  • 1,781
  • 2
  • 19
  • 37
11
votes
2 answers

Are there any JavaScript MVC frameworks that have no external dependencies?

Does anyone know of a MVC framework in JavaScript that is free of other library dependencies? I'm thinking along the lines of backbone.s or spine.js both of which CLAIM to have no dependancies but then their code clearly uses jQuery or Zepto…
rgb
  • 1,246
  • 1
  • 10
  • 14
11
votes
1 answer

Are we going backwards using a JavaScript MVC (MVVM) framework like Backbone.js, Angular, etc.?

JavaScript MVC frameworks like Backbone.js, Angular, Ember.js, etc. are all the rage these days. I understand that they are great for preventing spaghetti code and all, but I really don't understand why they've taken off like they have. After all of…
Cofey
  • 11,144
  • 16
  • 52
  • 74
9
votes
4 answers

sproutcore vs javascriptMVC for web app development

I want to use a javascript framework with MVC for a complex web application (which will be one of a set of related apps and pages) for an intranet in a digital archives. I have been looking at SproutCore and JavascriptMVC. I want to choose one…
swami
  • 673
  • 1
  • 9
  • 18
9
votes
1 answer

Backbone structure for search form and results?

I'm working with Backbone.js for the first time, and trying to get my head around how it works. I have a search form that pulls in results via Ajax and writes them out to the page dynamically. I'm now trying to figure out how best to structure this…
Richard
  • 62,943
  • 126
  • 334
  • 542
8
votes
1 answer

AngularJS: Correct place for global menu provider, service or rootScope?

I'm new to AngularJS, and - since it is quite complex and the approach is new for me, I'm a bit confused. I'm from "classic" background (server-side template languages [like Yii, django, Smarty] + some jQuery to make things a bit dynamic). Let's…
migajek
  • 8,524
  • 15
  • 77
  • 116
8
votes
4 answers

Node.js Rest Framework

I plan to write a rather large-scale web application using JavaScript. I believe I will be developing the webapp using CanJS to organize my client-side pieces. I am strongly considering using Node.js for my server-side component, but I was…
thecountofzero
  • 413
  • 1
  • 7
  • 13
1
2 3
12 13