JavaScriptMVC 1.0
Everything you'll want to know about the three pillars of JavaScriptMVC
This is JavaScriptMVC 1.0 documentation. If you are looking for JavaScriptMVC 1.5 documentation find it
here.
Best Practices
Work with other libraries, test, compress, & monitor your code
Browser Abstractions
Language abstractions
| Lightweight class system |
Class |
| Pluralizing and singularizing string helpers |
Inflector |
| String, Array, Function and Object extensions |
Helpers |
| Helpers for working with dates |
Date |
DOM abstractions
| Register events without worrying about memory issues |
Event |
| CSS DOM element selection |
Query |
| Manipulate and traverse the DOM |
Element |
Browser enhancements
| Update content without refreshing the page |
Ajax |
| Perform cross domain reads and writes |
Remote |
| Provide back, forward, and refresh button functionality |
History |
Maintainability
Model-View-Controller
| Connect to a server data source |
Model |
| Clean HTML out of your JavaScript with templates |
View |
| Respond to events |
Controller |
| Simplify your templates with shortcuts |
View.Helpers |
Logically organized files
| Register events without worrying about memory issues |
Include |
Best Practices
Development practices
| Work with jQuery, Prototype, and other libraries |
Tutorial |
| Test your JavaScript functionality |
Test |
| Log debug messages to a console |
Debug |
Deployment practices
| Make fewer HTTP requests and minimize script size |
Include |
| Receive email notification when users encounter an error |
Error |