Folder and File Organization  page     

This hasn't been filled out yet. Ping us and we will. For now, this is a place holder.

Here's what it should dicuss:

  • The app folder and file structure
  • The plugin file structure
    • a plugins folder
  • How apps and plugins should work together
  • Maybe sharing your plugins folder

Here's some text from the old docs that might be useful.

cookbook.js
The application file, load plugins and other JavaScript files.
cookbook.html
A page that loads your application.

funcunit.html
A page that runs your functional tests.

qunit.html
A page that runs your qunit tests.

test/
A folder for your qunit and funcunit tests.

docs/
A folder for your documentation files.

scripts/
Scripts to document and compress your application.

controllers/
A folder for code that manages events.
models/
A folder code that manages Ajax requests.
view/
A folder for client side templates
resources/
A folder for 3rd party plugins and scripts.
fixtures/
A folder for simulated ajax responses (So you don't have to wait on the slow poke backenders).

© Jupiter IT - JavaScriptMVC Training and Support