官术网_书友最值得收藏!

Chapter 1. Knockout Essentials

Though it is expected that you have experience with both JavaScript and KnockoutJS, we will still be covering the basics to establish a common foundation. This book wouldn't be complete if we didn't cover at least the basics. After that, we will look at building a simple application to create and manage contact information. This application will be used throughout the book to explore new techniques in Knockout and see how they fit into the larger process of application development. In this chapter, you will learn how to:

  • Define viewmodels
  • Write standard bindings
  • Use extenders
  • Use templates
  • Put all these pieces together into a functional application

This covers most of the standard functionalities in Knockout. In the next chapter, we will look at creating our own bindings to extend Knockout.

Even if you have used Knockout before and don't think you need a refresher, I encourage you to at least read the section that covers the Contacts List application example. It's something we will be using throughout the book as we explore more advanced concepts.

Before we get started, let's get our development environment set up.

主站蜘蛛池模板: 海安县| 阿鲁科尔沁旗| 广灵县| 湘潭县| 盖州市| 满洲里市| 贵港市| 宿迁市| 宕昌县| 德昌县| 遂溪县| 宽城| 澳门| 平山县| 永定县| 罗山县| 宜都市| 宜阳县| 茶陵县| 疏附县| 新营市| 武冈市| 和田县| 高台县| 阿合奇县| 右玉县| 达尔| 新安县| 南部县| 白银市| 鄂伦春自治旗| 马龙县| 石屏县| 休宁县| 新巴尔虎右旗| 胶南市| 上饶县| 乌兰浩特市| 信宜市| 囊谦县| 白朗县|