Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Controller Communication ways.

$
0
0
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 $.Controller still works. If you already have an older JMVC app, you'll run into issues trying to use CanJs alongside it. Instead, you can follow the migration guide that ships with each JMVC release to upgrade your existing app to 3.3 and get all the benefits of CanJS.

An observe does not need to be model data. You can create an observe for the sole purpose of allowing two Controls to communicate. If there is only one shared property between the two Controls, you could use a can.compute which is basically a way to observe a single value.

Take a look at the new CanJS docs, they should point you in the right direction. http://canjs.com/docs/index.html

Viewing all articles
Browse latest Browse all 3491

Latest Images

Trending Articles



Latest Images