문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top