Book Image

Knockout.JS Essentials

Book Image

Knockout.JS Essentials

Overview of this book

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

Summary


In this chapter, you have learned how to split an application using templates that share the same view-model. Now that we know the basics, it would be interesting to extend the application. Maybe we can try to create a detailed view of the product, or maybe we can give the user the option to register where to send the order. You will learn how to do these things in the coming chapters, but it would be interesting to experiment just with the knowledge we have now.

In the next chapter, we are going to learn how to extend Knockout behaviors. This will be useful to format data and to create code that we can reuse over and over. You will learn what custom bindings and components are and how they help us write reusable and elegant code.

The code of this chapter is on GitHub:

https://github.com/jorgeferrando/knockout-cart/archive/chapter2.zip