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

Chapter 7. Best Practices

Up until now, all the coding recommendations have been interspersed with Knockout techniques as they were introduced. In order to go into more detail about these patterns and why they are useful as well as to provide a consolidated reference, we are going to review them in this chapter. As JavaScript is a very flexible language, enjoys one of the largest online developer communities, and is in use at all levels of development on the hobbyist-enterprise spectrum, it is difficult to talk about good or useful patterns without becoming opinionated. These practices should be taken as advice and shouldn't be considered dogma. Many of these recommendations are applicable to programming in general and not just Knockout development.