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

Slow performance with medium to large data set

I'm evaluating CanJS for use but I'm having issues with loading in medium to large data sets. The json file looks like this:{  "data" : [{    "prop1":"value",        "prop2":"value",...

View Article


Re : Slow performance with medium to large data set

Are you measuring this with debugging tools on?  I've just noticed that in recent versions of FF / Firebug, it takes maybe 10 x longer if firebug is on vs off.Backbone doesn't handle nested observes /...

View Article


Re : Slow performance with medium to large data set

Thanks for the quick reply! I was indeed working with firebug on. Turning it off and restarting FF gave me excellent results. Great results in Chrome also, tested with 837 array objects. 

View Article

Re : Controller Communication ways.

Everything in JMVC is production ready, maybe you could rephrase the question?JMVC 3.3 is due out very soon and will have CanJS powering its MVC parts. There will be a computability layer so...

View Article

Re : Canjs Browser Support?

CanJS should support all browser that the library you are using it with supports. So with jQuery everything version 1.9.1 supports. For Zepto you won't have IE support etc.If you run into any issues...

View Article


Re : Controller Communication ways.

Please If there is any, then share an example link, for controller communication using $.Observe of javascriptmvc.Thanks,

View Article

Re : Canjs Browser Support?

Thanks for your response.> It's not easy to test and cover all use cases with all libraries.No argument here!

View Article

User input gets destroyed when adding items to a list.

Hi I was looking at this example of the React frameworkhttp://jsfiddle.net/fv6RD/3/And I was thinking that for sure CanJS does this. So I tried it out.http://jsfiddle.net/sporto/vMrtS/But in my tests...

View Article


communication with can.rounte()?

Can you please tell me the flow and use of can.route() ?And in what situations we use can.route()?I want to get the clear idea about this becuse i want to use can.rounte() explain me with a real time...

View Article


Re : communication with can.rounte()?

Here's an example: http://jsfiddle.net/SyEXx/17/Justin Meyer847-924-6039

View Article

Re : communication with can.rounte()?

Okay.. Thaks for you reply..ch. indira

View Article

Prevent context jumping in Mustache

According to the doc: If a key is not found within the current context, Mustache will look for the key in the parent context and so on until it resolves the object or reaches the parent most object....

View Article

Random musings on "Scope", two-way live binding, and can.component

Recently, I just finished getting all mustache tests to pass with a new "Scope" property lookup module. Here's the branch: https://github.com/bitovi/canjs/tree/mustache-scope-manipulation. This is the...

View Article


Re : SEO and JavaScriptMVC

Hi. Theese are my few lines about the topic :)I use a self written snapshot script for Crawler handling using phantomjs, because I migrated to JSMVC once and the snapshot script already existed.My...

View Article

Re : Random musings on "Scope", two-way live binding, and can.component

Scope, seems like a decent name actually, I don't think is horrible.I am trying to understand this better to be able to give suggestions, but I am lost in a few parts, it would be great to have some...

View Article


Canjs 1.1.6 mustache #each doesn't update UI on unshift when list is 0

There seems to be a bug where if page loads with list.length =0 and an item is added to the list using unshift, the UI doesn't update but if the page loads with items in the list, then subsequent...

View Article

Re : User input gets destroyed when adding items to a list.

The problem is that the entire list is being re-rendered again, so you get an empty input. The way for fixing this particular issue is to only render items dynamically (e.g. append if something has...

View Article


Re : User input gets destroyed when adding items to a list.

So it turns out that this had been implemented for 1.1.6 when using the #each helper. I didn't get it to work with the example though. Investigating some more.

View Article

Is there any built-in ability to link observe lists together like backbone...

Hi,   I'm new to canjs and am evaluating for use in one of my companies new products.   Is there any support within the observe and observ lists to link to other models?   meaning if I have a model...

View Article

Re : Is there any built-in ability to link observe lists together like...

I don't think there is something like what you are looking for but the attributes plugin could be a good start. It converts nested objects into model trees (this would already solve your problem if you...

View Article
Browsing all 3491 articles
Browse latest View live