Terminology

durandal/app The module that controls app startup, plugin loading/configuration and root visual display

<durandal/app>.title Title of the application.

durandal/system The module that encapsulates the most basic features used by other Durandal modules.

<durandal/system>.debug(<boolean>) Turn debugging on/off.

Facts, Thoughts and Opinions

define()

All code in Durandal is written in modules and takes the following form:

define(function (require) {
  var someModule = require('some-module');
  ...other modules required here...
  return someValue;
});

Images

[[/div]]