• page

Get Started with JMVC getstarted


This guide introduces the most important aspects of JavaScriptMVC (JMVC) by creating a simple cookbook application.


Before jumping in, there are some things you should know:


Use JavaScriptMVC to develop client-side JavaScript apps. JMVC was created by Bitovi, a JavaScript consulting company, to create quality, maintainable apps in the shortest amount of time. Since that time, JMVC has undergone 7 primary production releases with over 100 outside contributors.

Unlike most JavaScript projects, JMVC is a true framework. It supplies best-of-bread solutions for things like:

  • DOM manipulation
  • MVC Architecture
  • Testing
  • Dependency management
  • Documentation

It tightly integrates these solutions so they work together seemlessly. With repeatable development patterns, JMVC provides direction to development making it easy for teams to work together more effectively.

Sub Projects

JavaScriptMVC is comprised of 5 sub projects:

  • CanJS - A client side MVC framework
  • jQuery++ - A collection of useful DOM helpers and special events for jQuery
  • StealJS - A code manager: dependency management, code cleaning, building, etc.
  • DocumentJS - A documentation engine
  • FuncUnit - A web testing framework


Sub-projects are futher broken down into plugins. Just steal the ones you need. Plugins load their own dependencies and won't load duplicate files. It looks like:

steal('can/control', function( Control ) {
  Control // -> the Control API

P.S. steal('can/control') adds can/control/control.js to your project.


JavaScriptMVC is MIT with the following exceptions:

These exceptions, although permissive licenses themselves, are not linked in your final production build.

Installing JavaScriptMVC

Before continuing, make sure you have installed JavaScriptMVC. Once you have installed JavaScriptMVC, continue to Creating Cookbook.