Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Single Page Apps made easy with Durandal 2.0

Single Page Apps made easy with Durandal 2.0

Building single page applications should be easy. Durandal 2.0 is a mature single page application (SPA) framework that provides a simple architecture that will help you develop applications that your users will enjoy and your developers can easily maintain. This session will cover building an application from the beginning and cover project setup, modules, views, navigation and more. Experience the ease of building fast and beautiful applications with Durandal 2.0.

Jonathan Marbutt

August 27, 2013
Tweet

More Decks by Jonathan Marbutt

Other Decks in Programming

Transcript

  1. So why choose Durandal? Minimal amount of new concepts Strong

    View Composition Rich Page Life Cycle Built on solid Javascript libraries (knockout, requirejs, jQuery) Modularization built on AMD standards
  2. Understanding the structure The main.js is where it all starts

    All your code goes in here Here is a view And its module
  3. Binding: New in 2.0, the observable module! No longer need

    to define knockout observables Use plain old JavaScript objects Easy to enable
  4. View Composition Simple Composition Inline Composition Ability to bind modules

    to inline html Templated Composition Similar to Content sections in asp.net
  5. Q&A