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
7
votes
1 answer

Angularjs TypeError: undefined is not a function

I'm just starting to mess with angular js and I'm trying to load the data through a post action. I'm using angularjs v.1.0.2 Here is my code: HTML:
jribeiro
  • 3,387
  • 8
  • 43
  • 70
6
votes
3 answers

Node.js Express for REST? Are there controllers in Express?

I'm currently developing a community (like a lightweight "social network") for a limited (local) target. This is the first project where SEO doesn't matter and where I can happily exclude no-js users. That's why I'm thinking to start the project…
Eliasdx
  • 2,190
  • 2
  • 23
  • 33
6
votes
4 answers

backbone, javascript mvc - styling views with javascript

A few of my views need their textareas converted to rich text editors. I'm using jwysiwyg as the editor. It requires that the element it is being attached to is in the page when the editor is initialized i.e. when I call $(this.el).wysiwyg(),…
jcoffey
  • 465
  • 4
  • 15
6
votes
1 answer

JavaScriptMVC (JMVC) Tutorials

I'm interested in learning JavaScriptMVC. I've gone through Getting Started and a bunch of the official docs, but I learn best by looking at other people's code. I'm not finding much else in the way of tutorials or sample/open source apps using it.…
Craig M
  • 5,598
  • 4
  • 32
  • 43
6
votes
10 answers

Just In General: JS Only Vs Page-Based Web Apps

When a developing a web app, versus a web site, what reasons are there to use multiple HTML pages, rather than using one html page and doing everything through Javascript? I would expect that it depends on the application -- maybe -- but would…
6
votes
4 answers

Please share your experience with JavaScriptMVC, alternatives

I have been reading through the documentation on the JavaScriptMVC framework and it looks interesting. I am wondering if anybody here has used the framework, and with what success. So please share your experience with JavaScriptMVC, if you have any.…
Egil Hansen
  • 15,028
  • 8
  • 37
  • 54
5
votes
2 answers

Javascript MVC framework (seperation of concerns) is compatible with asp.net MVC?

Anyone had a chance to use the javascript MVC framework with ASP.NET MVC? Basically i looking for advise on a way of using them together if possible, my asp.net MVC app i can't get rid of but i would love to use some sort of separation of concern…
mark smith
  • 20,637
  • 47
  • 135
  • 187
5
votes
2 answers

Backbone.js - Binding from one view to another?

I have a main app view, with a filter menu in the header. When it's clicked, I want to filter content in a seperate news-feed view. But I don't know how to bind events (and pass class data) from clicks in one view to a function in another. How can I…
Danny Anges
  • 237
  • 5
  • 10
5
votes
2 answers

Using Selenium-IDE with a rich Javascript application?

Problem At my workplace, we're trying to find the best way to create automated-tests for an almost wholly javascript-driven intranet application. Right now we're stuck trying to find a good tradeoff between: Application code in reusable and…
Darien
  • 3,482
  • 19
  • 35
5
votes
3 answers

how to override the existing function in jquery

This is default for all js getEditor: function(){ $( '#datatableEditor' ).remove(); var editor = $( '
' ); $( 'body' ).prepend( editor ); var dialog = $(editor).dialog({ title:…
user2819086
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

When to implement logic in the front-end vs the back-end?

So I've gotten very familiar with Javascript MVC's over the past few weeks. Now I'm looking to learn the how to program a backend(specifically using asp.net MVC's implementation). I'm learning about the razor's view engine etc. One learning block…
user2202911
  • 2,898
  • 5
  • 20
  • 28
5
votes
2 answers

Optional route parameters in Backbone.js? (again)

I'm trying to set up routing in Backbone 0.9.10. I'd like to match routes of the following kind: /england/ /england/birmingham /france /france/paris ... etc. This is what I have in my router at the moment: var AppRouter =…
Richard
  • 62,943
  • 126
  • 334
  • 542
4
votes
3 answers

How to write a modular JavaScript application?

I am planning to rewrite an existing Silverlight application using HTML, JavaScript and CSS. This will be a rich internet application connecting to a server only for data (JSON based web services) - so there will be no server-side presentation…
Naresh
  • 23,937
  • 33
  • 132
  • 204
4
votes
1 answer

Rails 3 - How to pass authentication token to client side framework like Sproutcore

I'm looking into developing a Sproutcore client-side webapp with a Rails 3 backend. One of the problems I'm envisioning is having to pass the authentication token along with the communication between Sproutcore and Rails. When is the CSRF token…
jcoffey
  • 465
  • 4
  • 15
4
votes
1 answer

Mac Terminal error '-bash: ./js: Permission denied'

I'm learning JavascriptMVC and I'm running the following command in the Terminal, which I got from here: ./js jquery/generate/app cookbook I'm new to the command line. All of my Googling is coming up with nothing. I imagine I'm missing some kind of…
Spencer Carnage
  • 2,056
  • 2
  • 28
  • 41
1
2
3
12 13