Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Both Backbone.js and JavascriptMVC are great examples of using a framework to organize large projects in a sane way (<a href="http://www.sproutcore.com/" rel="nofollow">SproutCore</a> and <a href="http://cappuccino.org/" rel="nofollow">Cappuccino</a> are nice too). I definitely suggest you choose a standard way of deal with data from the server, handling events from the DOM and responses from the sever, and view creation. Otherwise it can be a maintenance nightmare.</p> <p>Beyond an MVC framework, you should probably choose a solution for these problems:</p> <ul> <li>Dependency management: how will you compile and load javascript files in the right order? My suggestion would be <a href="http://requirejs.org/" rel="nofollow">RequireJS</a>.</li> <li>Testing: testing UI code is never easy but the guys over at jQuery have been doing for a while and their testing tool <a href="http://docs.jquery.com/Qunit" rel="nofollow">QUnit</a> is well documented/tested.</li> <li>Minification: you'll want to minify your code before deploying to production RequireJS has this built in but you could also use the <a href="http://code.google.com/closure/compiler/" rel="nofollow">Closure Compiler</a> if you want to get crazy small source.</li> <li>Build System: All these tools are great but you should pull them all together in one master build system so you can run a simple command on the commandline and have you debug or production application. The specific tool to use depends on your language of choice - Ruby => <a href="http://rake.rubyforge.org/" rel="nofollow">Rake</a>, Python -> Write your own, <strong>NodeJS</strong> as a build tool (i like this option the most) -> <a href="https://github.com/jcoglan/jake" rel="nofollow">Jake</a></li> </ul> <p>Beyond that just be aware if something feels clunky or slow (either tooling or framework) and refactor.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload