In this chapter, we have seen all the remaining functionalities of KnockoutJS (core), which we skipped in the previous chapter.
The application we realized was simple enough, but we used it to learn better how to use components and custom binding handlers.
If you think we put too much code for such a small project, try to think what differences you have seen between the first and the second component: the more component and binding handler code you write, the less you will have to write in the future.
The most important point about components and custom binding handlers is that you have to realize them looking at future reuse; the more good code you write, the better it will be for you later.
The core point of this chapter was AMD and RequireJS; how to use them inside a KnockoutJS project, and why you should do it.
In the next chapter, we will look at how to realize a full-featured SPA with the help of DurandalJS, a framework built around jQuery, KnockoutJS, and RequireJS.