In the first half of this chapter, we covered some basic concepts and patterns that helped us understand how Knockout works. After a brief overview of Knockout, we dived into the MVVM pattern. We explored the concept behind this pattern and saw how it helps in reducing complexities of web application development. We then explored the key features of Knockout that included declarative bindings, automatic UI refresh, dependency tracking, and templating. We looked at the module pattern and learned how we can use it to give structure to our Knockout application.
In the second half of this chapter, we built our first Knockout application. The application was an address book, which was used to store and display contact details of your family and friends. The application let you add a contact name and phone number. The contacts were displayed in a table.
This chapter provided the necessary concepts, pattern, and skeleton code to start developing more complex applications, which follow in the next chapters.