Re : TDD - is it possible?
As alternative to FuncUnit you may take any TDD/BDD framework like mocha.js and write tests that will work in browser =).To automate the process you may use test runners like testem.js
View Articlecan I and how can I use php frameworkMVC and javascriptMVC together
hi.I read javascriptMVC's documents and I loved it.but I don't know how to use it in a large scale.I think in server side an MVC framework is needed or can help so much.and I've worked with server side...
View ArticleDocs site is down
http://javascriptmvc.com/docs.htmlError: Permission denied to access property 'steal' http://javascriptmvc.com/steal/steal.production.js?documentjs/jmvcdoc Line 26
View ArticleRe : TDD - is it possible?
Personally, I would stick to FuncUnit because you get functional and unit testing, whereas most BDD and TDD frameworks I've seen only do unit testing and force you to use jQuery to trigger native...
View ArticleJSMVC vs CanJS vs DoneJS
This may seem like a stupid question, but I'm curious at what the differences are between JSMVC, CanJS, and DoneJS? All of these frameworks seem really similar, if not the same (for some features)....
View ArticleRe : JSMVC vs CanJS vs DoneJS
CanJS is a lightweight MVC library. It is the MVC parts of JMVC, extracted and rewritten.JMVC is the entire front-end stack you would need to build an application. It is the umbrella project for:-...
View ArticleWhat are the good practices to get model instance from view?
Hi. I've got a question about JMVC.Consider I have rendered a list using Model.findAll({}, function(entries){ $(.elm).html( $.View.render('//some_ejs.ejs', {entries: entries}));});Now I've got...
View ArticleRe : What are the good practices to get model instance from view?
In your EJS add the model instance to each <li> so you can retrieve it later:<% entries.each(function(entry) { %> <li <% (el) -> el.data('entry', entry) %> ><%=...
View ArticleIntegrate html pages
How to integrate or relate one html page to another in JavaScriptMVC? Please help.
View ArticleRe : Integrate html pages
Can you be more specific?Typically apps are single page.But every web page relates to every other page through a URL.
View Articlebug in ejs with html table ?
See this fiddle: http://jsfiddle.net/VsP68/3/basically i have a perfectly fine template with a IF block depending on an attr in a observe.Everything works, untill I had some html table, I then get...
View ArticleRe : bug in ejs with html table ?
Probably a bug, but remove that br. Sent from my iPhoneOn Mar 29, 2013, at 2:31 AM, JavaScriptMVC Forum <noreply@zohodiscussions.com> wrote:
View ArticleRe : Integrate html pages
I have one base html page and it has 5 menus, If i click anyone menu, It has to call corresponding model and loadrespective data from its view.Please provide solution or sample attach app to...
View ArticleAny advice on using findall/findOne the "right" way...
I'm running into some issues with moving from JMVC to CanJS, and I'm wondering is the what the "right" way to do the following. With JMVC, I used to do something like this in my model:models:...
View ArticleRe : Any advice on using findall/findOne the "right" way...
1. You should be calling the base model and models methods with either super or can.Model.models( data.nested.results )2. I'm not sure what you mean. Task.findAll({},success) will call success...
View ArticleRe : Any advice on using findall/findOne the "right" way...
Justin, thanks as always for your response. On #1, yes, I didn't type the sample properly, I am calling the base method, like:models: function(data) { return this._super(data.nested.results);},On...
View ArticleView/Controller Combo Loopback Problem
In this Fiddle,delete a letter, except the last one, from the text in the View/Controller Combo.LiveBinding updates the text input and the text cursor jumps to the end.Any ideas how to fix this, so the...
View ArticleRe : View/Controller Combo Loopback Problem
Why not use such input change handler? '#vcCombo change': function( el) { this.bData.attr( 'test', el.val() ); }
View Article