to help structuring your code • MVC-‐ish principles • Works out-‐of-‐the-‐box with all REST-‐backends * • Backbone.js + CoffeeScript = <3 • Great community (support & plug-‐ins)
mostly wricen in single files -‐> does NOT work for complex applica@ons • You need to setup your own directory structure <script src="src/models/unicorn.js"></script> <script src="src/models/user.js"></script> <script src="src/controllers/user_controller.js"></script> <script src="src/controllers/main_controller.js"></script> <script src="src/views/user.js"></script> <script src="src/views/user_list.js"></script> <script src="src/main.js"></script> (...) (...)
all files (Code + Templates + Styles) • Assembles them into one single file • Watches for file-‐changes • Provides a proven directory structure • But works with any • Powerful plug-‐in system