Skip to content

Latest commit

 

History

History
 
 

canjs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

CanJS TodoMVC Example

CanJS is a MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy.

CanJS - canjs.com

Learning CanJS

The CanJS website is a great resource for getting started.

Here are some links you may find helpful:

Get help from other CanJS users:

If you have other helpful links to share, or find any of the links above no longer work, please let us know.

Implementation

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 and JavaScriptMVC

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