Book Image

Mastering KnockoutJS

By : Timothy Moran
Book Image

Mastering KnockoutJS

By: Timothy Moran

Overview of this book

Table of Contents (16 chapters)
Mastering KnockoutJS
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


These are just the basics of using Durandal, but hopefully you can already appreciate the power and simplicity the framework provides. It frequently happens online that Knockout is compared to more complete frameworks such as Angular, and where it lacks components, such as a router, they are taken as points against it. Durandal stacks up much more evenly with these frameworks while it still takes advantage of all of the things that make Knockout great.

In this chapter, you should have learned the composition system, as well as how the router brings organization and modularity to your application. We saw how promises combine with modal dialogs and the application life cycle to allow us to respond to asynchronous events easily and naturally. Finally, we saw how widgets can take the concepts behind Knockout components (reusable behavior-driven controls that are instantiated from the view markup) and add templated data-part attributes to achieve transclusion.

The next chapter will continue...