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
4
votes
4 answers

Choosing a Javascript MVC framework for a drag and drop interface

USECASE: I am starting with a project which involves a lot of client side scripting. It is similar to a mini CMS where user can drag and drop html components. Somewhat similar to this. Now I am in a situation where I have to choose a MVC framework…
3
votes
1 answer

JavaScriptMVC installation

I want to start my journey with JavaScriptMVC, but I really don't know how to install it properly. I mean I know, I may put it in public_html, but is it possible to place it in the system (like Rails for example?). Download the latest…
ciembor
  • 7,189
  • 13
  • 59
  • 100
3
votes
1 answer

javascriptMVC jqueryMX Controller VS. widgets - can we all get along?

We built a ajax website and are thinking of migrating to javascriptMVC. Our site has our own home-made controller which handles ajax calls for html and JS and the UI uses JQuery UI widgets extensively. I read a bit about javascriptMVC and liked the…
Guy
  • 12,488
  • 16
  • 79
  • 119
3
votes
1 answer

javascriptMVC and Rails folder strucuture

I've recently started working on an app that needs heavy scripting client-side and have been looking at integrating Rails with JavascriptMVC. found out that the folks at JupiterJS are doing the same, which is great, but, I've been searching on…
3
votes
1 answer

javascriptmvc folder structure with asp.net mvc

It seems to me the first biggest hurdle of fitting javascriptmvc into asp.net mvc, is the folder structure. Has anyone adapted the asp.net mvc folder structure to serve up content files from the folder structure javascriptmvc expects?
Trent
  • 2,122
  • 1
  • 24
  • 38
3
votes
3 answers

Holistic Tutorial or Book for jQuery MVC

I'm already familiar with javascript, but am looking for a holistic tutorial or book that would teach me, from the very basics, how to create interfaces with mvc design pattern. It should use either backbone.js or javascriptmvc framework. ANy…
Mark
  • 32,293
  • 33
  • 107
  • 137
3
votes
1 answer

Mustache rendering Vs Handlebars rendering

I have 2 views - view1 using Mustache and view2 using Handlebars. I want to verify if my understanding is right - While calling the render function of the views, the performance of rendering view2 will be better than view1 as I have compiled the…
Student
  • 4,481
  • 8
  • 27
  • 32
2
votes
4 answers

How to access the function of different controller? - JavaScript MVC

Assume I have 2 controllers that handle 2 parts of the page - header and page content. Most of the actions happen in pagecontent.js (controller for page content). It has set of functions to load various views. But header has the back button. I track…
2
votes
1 answer

How useful is EJS?

I've been looking into EJS and JavaScriptMVC. I see quite a bit of value through JVMC's controllers and their models (in some cases, namely 3rd party rest integration). However, I develop in PHP using a traditional MVC such as Zend. Typically for…
David
  • 499
  • 2
  • 8
  • 15
2
votes
1 answer

How do I get started with JavaScriptMVC?

Are there any good resources to get started with JavaScriptMVC? Resources like tutorials, blogs or books? This is what I have found so…
Farm
  • 3,356
  • 2
  • 31
  • 32
2
votes
3 answers

Why no semicolon at the end of js expression in javascriptmvc app?

I am starting to learn javascriptmvc, and in code samples, I see code without semicolons at the end of expressions. Does this count on automatic semicolon insertion or am I missing something? Code example below: $.Controller("Contacts.Controller",…
Regis Zaleman
  • 3,182
  • 6
  • 29
  • 30
2
votes
0 answers

JavascriptMVC and RubyOnRail integration

I saw one question related to folder structure on JMVC and ROR. My question is different. I am new to both and I want to know how to integrate JMVC created files with RubyOnRail created files. Think like this: RoR creates view pages and JMVC also…
Satya Prakash
  • 3,372
  • 3
  • 31
  • 47
2
votes
1 answer

Integrating jqGrid and JavaScriptMVC

Has anyone tried to integrate jqGrid and JavaScriptMVC, particularly using JMVC's model encapsulation to retrieve data instead of jqGrid? It seems easy to add jqGrid as a plugin, but trying to incorporate it into the MVC model hasn't been easy at…
Jonathan
  • 151
  • 1
  • 9
2
votes
1 answer

Can the model in MVC do calculations

For example is this appropriate for the model: var Model = function Model(){ this.chapterIndex = 0; this.pageIndex = 0; this.next = true; this.prev = false; this.getCurrentpage = function getCurrentPage(){ return…
SpaceOso
  • 358
  • 1
  • 3
  • 15
2
votes
1 answer

Rendering ember component outside parent template

Imagine the following situation. I have a sidebar positioned absolutely and then some more stuff positioned absolutely within that sidebar. In that sidebar I have a button, which shows a menu, the template looks like this:
VoY
  • 5,479
  • 2
  • 37
  • 45
1 2
3
12 13