title: Windows.UI.WebUI.WebUIApplication versus WinJS.Application
body: <p>What is the distinction between Windows.UI.WebUI.WebUIApplication versus WinJS.Application?</p>
  
  <p>WinJS.Application is a namespace. WebUIApplication is an object (or a class of object). But consider the following:</p>
  
  <p>WebUIApplication supports the following events:
      WebUIApplication.activated
      WebUIApplication.resuming
      WebUIApplication.suspending
      WebUIApplication.navigated</p>
  
  <p>WinJS.Application Namespace defines the following events:
      onactivated
      oncheckpoint
      onerror
      onloaded
      onready
      onsettings
      onunload</p>
  
  <p>In particular, why is resuming done with WebUIApplication but not with WinJS.Application, but it seems that activation and checkpoint can be done either way? </p>
  
  <pre><code>Windows.UI.WebUI.WebUIApplication.onresuming = function (args) { ... }; // OK
  
  WinJS.Application.oncheckpoint = function (args) { ... }; // OK
  
  WinJS.Application.onactivated  = function (args) { ... }; // OK
  
  WinJS.Application.onresuming  = function (args) { ... }; // NOT OK
  </code></pre>