Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save jupiterjs/1030792 to your computer and use it in GitHub Desktop.

Select an option

Save jupiterjs/1030792 to your computer and use it in GitHub Desktop.
A new Getting Started Guide

Welcome to the getting started guide! This getting started guide walks you through creating a simple cookbook app that uses all core parts of JavaScriptMVC. It's purpose is to give you a high level overview of JavaScriptMVC's functionality.

Breakdown

JavaScriptMVC is divided into 4 independent sub projects:

jQueryMX - jQuery MVC and other extensions. StealJS - Dependency Managment and build tool system. DocumentJS - A documentation Engine FuncUnit - A web testing framework

Every project has different needs. Your project might not need (or even want) to use all of JavaScriptMVC. That's fine because each part of JavaScriptMVC works without every other part. If you want only want one part, click that part above and you'll be directed to it's getting started guide.

jQueryMX

jQueryMX is a collection of useful jQuery extensions broken down into four broad categories:

Model-View-Controller

DOM Extensions

Special Events

Language Helpers

StealJS

StealJS is a dependency management and build tool system. Load scripts by adding steal/steal.js to your page with the path to your script in the querystring:

<script type='text/javascript'
        src='../steal/steal.js?cookbook/cookbook.js'></script>

Then, use steal to load any files you need:

steal('widgets/list',
      'models/recipe.js',
      'jquery/views/ejs')
.then('views/recipes.ejs', 
      function(){
        // runs when everything else has finished
      })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment