O'Reilly logo

Mastering KnockoutJS by Timothy Moran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Advanced Durandal

In the previous chapter, we covered most of the basic uses of the Durandal framework. By now, you should feel comfortable starting an application with it. In this chapter, we will continue to look at Durandal by covering some more advanced framework features as well as looking at some useful patterns that will help us solve common challenges encountered in the SPA development.

  • Publishing and subscribing with events
  • Application login scenarios
  • Advanced composition
  • Nested routers
  • Custom modal dialogs
  • Binding to plain JavaScript objects

Publishing and subscribing

A very common problem new developers face when they start using Knockout is how to communicate between viewmodels without establishing a single hierarchy with a master ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required