• page

JavaScriptMVC javascriptmvc

 

JavaScriptMVC Documentation

JavaScriptMVC (JMVC) is a MIT licensed, client-side, JavaScript framework that builds maintainable, error-free, lightweight applications as quick as possible. It packs best-of-breed libraries and tools that are guaranteed to work together. It supports every browser that jQuery supports.

If you are new to the framework, this page followed by the tutorials is the best place to start.

JMVC's goodies are broken down into four sub-projects:

  • CanJS - A client side MVC Framework
  • jQuery++ - A collection of useful DOM helpers and special events for jQuery
  • StealJS - JavaScript and CSS dependency management and build tools
  • FuncUnit - Functional and unit testing framework
  • DocumentJS - Documentation engine

The remainder of this page highlights each sub-project. Click the the project links on the left for a more in-depth overview of the sub-project.

CanJS

CanJS is a JavaScript framework that makes building rich web applications easy and the MVC of JavaScriptMVC. The library is extremely lightweight (at only 11k minified and compressed) and full featured.

Everything you want and need to know about CanJS can be found here.

jQuery++

jQuery++ is a collection of useful jQuery libraries that provide the missing functionality necessary to implement and organize large-scale jQuery applications. It provides low-level utilities for things that jQuery doesn’t support.

The best way to get started is the jQuery++ overview.

StealJS

StealJS is a "code manager" that keeps code beautiful and organized while developing and FAST for users in production. It's a collection of command-line and browser-based utilities enabling you to:

  • load JS, CSS, LESS, and CoffeeScript files and build them into a single production file.
  • generate an application file/folder structure, complete with test, build and documentation scripts.
  • clean and JSLint your code.
  • make your Ajax app crawlable.
  • log messages in development that get removed in production builds.

StealJS is a stand-alone tool that can be used without the rest of JavaScriptMVC.

FuncUnit

FuncUnit is a web application testing framework that provides automated unit and functional testing. Tests are written and debugged in the browser with FuncUnit's short, terse, jQuery-like API. The same tests can be instantly automated, run by Envjs or Selenium.

FuncUnit also supports extremely accurate event simulation on practically every browser and system.

DocumentJS

DocumentJS provides powerful JavaScript documenting capabilities. This whole website is built with it! DocumentJS can document practically anything. It's extensible. And with Markdown support, it's easy to document your code.