JavaScript SPA: Durandal Modules and Lifecycle events

Web developers seeking an introductory guide to developing lightweight, high performance JavaScript single page applications in Visual Studio 2013

Prerequisite
None

Expected Duration
102 minutes

Description
A JavaScript single page application, or SPA, uses a combination of JavaScript libraries and web development frameworks to communicate with the server, consume and manage data, and to display application views on screen. A SPA serves up a single HTML page in which all of the application views are rendered on the client, and data that is retrieved from the server can be cached and efficiently managed on the client. In this course, you will learn how to compose new modules, use RequireJS for module dependency injection at run-time, and handle app lifecycle events in Visual Studio 2013.

Objective

Composing Modules with Durandal

  • start the course
  • add a new view to a Durandal SPA project in Visual Studio 2013
  • add a new view model to a Durandal SPA project in Visual Studio 2013

Dynamic Module Loading with Durandal

  • configure RequireJS for a Durandal SPA project in Visual Studio 2013
  • bootstrap an application with RequireJS for a Durandal SPA project in Visual Studio 2013
  • enable system debugging in a Durandal SPA in Visual Studio 2013
  • add a custom splash page in a Durandal SPA in Visual Studio 2013

Handling App Lifecycle Events with Durandal

  • use the activator.create() method to manually create an activator in a Durandal SPA
  • dynamically build a navigation model in a Durandal SPA project in Visual Studio 2013
  • use the CanActivate() method to enable and disable route activation in a Durandal SPA in Visual Studio 2013
  • use the deactivate() method in a Durandal SPA in Visual Studio 2013
  • use the CanDeactivate() method in a Durandal SPA in Visual Studio 2013

View Composition in Durandal

  • use Knockout to dynamically compose a view that does not have a view model
  • use Knockout to dynamically compose a view that already has its own view model

Practice: Create Single Page App Using JavaScript

  • working with Single Page Apps

MONTHLY SUBSCRIPTION

$129/month
 

ANNUAL SUBSCRIPTION

$1295/year

Multi-license discounts available for Annual and Monthly subscriptions.