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

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

主站蜘蛛池模板: 罗山县| 冀州市| 阜阳市| 平度市| 富川| 新乡市| 沧源| 丰镇市| 铅山县| 资阳市| 介休市| 晋江市| 万州区| 左权县| 扬中市| 翁源县| 于都县| 越西县| 萨嘎县| 贡嘎县| 洛阳市| 德令哈市| 上饶县| 静宁县| 育儿| 新乐市| 咸阳市| 通辽市| 乌拉特前旗| 武穴市| 凤城市| 离岛区| 三亚市| 平乐县| 洞口县| 卢湾区| 吕梁市| 皮山县| 微博| 屯昌县| 砀山县|