Quantcast
Channel: JavaScriptMVC Forum
Browsing all 3491 articles
Browse latest View live

Re : With pre-compiling EJS and templates, can we get rid of parsing code?

Thanks daff, that's interesting.  When the compile code is stripped out of DustJS it goes from 26k min to 6k min.  I've always thought most of the heavy lifting was done at parse and compile time on...

View Article



Re : CanJS with JSONP service

You can override all of the static functions (findAll, fiondOne, create, update, destroy), of a Model to completely customize its behavior.Each function just has to return a Deferred. If you are using...

View Article

Re : JavaScriptMVC to CanJS EJS differences

The first thing I would do is wrap give each block it's own magic tag. There are some subtle bugs that will appear if you start multiple blocks in a single magic tag, especially when you get into live...

View Article

Re : CanJS works well with the Rails asset pipeline

Hey lawwantsin - I've had tremendous success pre-compiling my EJS using the Rails Asset Pipeline generally following this guide:http://www.bigjason.com/blog/precompiled-javascript-templates-rails-3-1I...

View Article

Re : JavaScriptMVC to CanJS EJS differences

Thanks, I'll certainly give this a try!

View Article


Setter methods in CanJS?

We've just upgraded to 3.3 from 3.2. Are model setters methods like "setNAME". No longer supported?patrick

View Article

Re : With pre-compiling EJS and templates, can we get rid of parsing code?

Wow... no CanJS templating isn't that big. The heavy lifting here is probably mostly done on the live binding side which happens at runtime. However, the entire jQuery version of CanJS is about 12K...

View Article

Re : With pre-compiling EJS and templates, can we get rid of parsing code?

Good point.  I'm still stuck without a solid workflow and organization strategy for CanJS.  I've done one small app with it but it was very simple.  Can't seem to get myself past this.  In JMVC it was...

View Article


Re : Setter methods in CanJS?

For anyone else with problem. You'll want to include the setter plugin.can/observe/setter

View Article


Re : usages of less

I have been beating my head over this for the past week, and after deconstructing steal I have come up with a solution... which I am still testing.  Let me describe my very similar scenario:I have a...

View Article

Image may be NSFW.
Clik here to view.

Need sample projects in JavascriptMVC3.2.

Hi All,            I'm new to this JavascriptMVC3.2, I have gone through the JavascriptMVC.com sample app, That is not clear to my level (I'm beginner and fresher) and I'm looking for  some sample...

View Article

CanJS 1.1.5 distribution file

The zip file for CanJS 1.1.5 contains can.jquery.min.js which is not minimized (287KB).Could you please fix the 1.1.5 distribution file?Thanks a lot,Udo

View Article

What is wrong with this controller (jsFiddle attached)

Just done a quick example here, the goal is simple, just make three events working.http://jsfiddle.net/JuTQv/At the moment, none of the event works, couldn't  figure out where went...

View Article


TDD - is it possible?

Hello all,I've been poking around QUnit + FuncUnit and would like to know if it is possible to TDD within the architecture of JavascriptMVC.Testing models seems simple enough (with the Cookbook app)...

View Article

Image may be NSFW.
Clik here to view.

Looking for Javascript MVC3.2 samples projects

Hi,      I am new to JMVC. I have gone through the sample projects in JavascriptMVC site, But I need more clear info about how to handle navigation menus, events , navigation between different html...

View Article


can.route handling specific routes

If I had a simple route definition and controller as below, none of the specific route handlers get called (e.g. 'foo/:view' if type=foo).  Only the ':type/:view' route is fired.  I want to avoid...

View Article

Re : What is wrong with this controller (jsFiddle attached)

In your original Fiddle you are changing the list before initializing the Controller. If you do it after the initialization it works:http://jsfiddle.net/JuTQv/2/The set event is only fired if you are...

View Article


Re : CanJS 1.1.5 distribution file

Thanks for pointing that out! It should be fixed now.

View Article

Re : What is wrong with this controller (jsFiddle attached)

Thanks daff, all solved.

View Article

Can.js Change Log 1.1.5 contains links to github api

Can.js Change Log  1.1.5 ( Mar 25 2013 ) contains links to github api, not to github web interface. 

View Article
Browsing all 3491 articles
Browse latest View live




Latest Images