Question

Call me stupid, but I'm quite confused. Are they the same and can.js is simply its successor? They seem to share quite a lot of functionality. As JavaScriptMVC is not updated as regulary as CanJs I think about switching to the latter. Does anyone have experiences with that?

Was it helpful?

Solution

CanJS is the next version of what used to be the MVC parts of jQueryMX which is part of JavaScriptMVC. It will replace jQueryMX in the next JavaScriptMVC release but is maintained by the same team and shares most of the ideas with some modern features like live-binding and Mustache templates.

The main idea is for CanJS to be usable whichever way you prefer, as a single library, as AMD modules with RequireJS or in context of the other tools that JavaScriptMVC provides (jQuery++, Steal, FuncUnit, DocumentJS) for a full stack application framework (not and MVC framework). So if you are just starting out, I definitely recommend using CanJS as it will be a part of JavaScriptMVC very soon.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top