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

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

主站蜘蛛池模板: 榆社县| 弥渡县| 长子县| 和政县| 山阴县| 福州市| 双流县| 渑池县| 长兴县| 大余县| 奈曼旗| 若羌县| 澄迈县| 新化县| 肥东县| 涞源县| 长顺县| 交城县| 三原县| 永城市| 鄂尔多斯市| 奈曼旗| 卫辉市| 望谟县| 延寿县| 望谟县| 卓尼县| 鞍山市| 济源市| 镇安县| 海门市| 西林县| 华蓥市| 青龙| 鸡西市| 乌拉特后旗| 潜山县| 吉安县| 上思县| 凤庆县| 来宾市|