CanJS is a MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy.
The CanJS website is a great resource for getting started.
Here are some links you may find helpful:
Get help from other CanJS users:
- CanJS on StackOverflow
- CanJS Forums
- CanJS on Twitter
- #canjs IRC channel on Freenode
If you have other helpful links to share, or find any of the links above no longer work, please let us know.
The CanJS TodoMVC example uses can.Component introduced in CanJS 2.0. can.Component supports declarative view bindings using Mustache/Handlebars as the template syntax.
Version 2 is mostly backwards compatible with previous 1.1.x version. For alternative architecture examples have a look at the TodoMVC 1.2.0 CanJS example.
CanJS is the extracted, more modern and more library-like MVC parts of JavaScriptMVC, formerly known as jQueryMX.
JavaScriptMVC 3.3 uses CanJS for the MVC structure so this TodoMVC example applies to JavaScriptMVC as well.
Additionally, JavaScriptMVC contains:
- CanJS - For the MVC parts
- jQuery++ - jQuery's missing utils and special events
- StealJS - A JavaScript package manager
- DocumentJS - A documentation engine
- FuncUnit - jQuery style functional unit testing