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

Chapter 3. Custom Bindings and Components

With all the concepts you have learned in the last two chapters, you can build most of the applications you find in the real world. Of course, if you write code with just the knowledge of these two chapters, you should be very tidy because your code will become bigger and bigger and will be difficult to maintain.

Once a Google engineer was asked about how to build large applications. His answer was short and eloquent: Don't. Don't write large applications. Instead, write small applications, small pieces of isolated code that interact with each other, and build a large system with them.

How can we write small, reusable, and isolated pieces of code that extend the functionality of Knockout? The answer is by using custom bindings and components.

主站蜘蛛池模板: 六盘水市| 酉阳| 南城县| 阿拉善右旗| 芒康县| 绵竹市| 黔江区| 云南省| 甘谷县| 景洪市| 中方县| 东宁县| 泾川县| 宜宾市| 鹤壁市| 拉孜县| 南部县| 岱山县| 喀什市| 屏山县| 尼勒克县| 蒲江县| 永嘉县| 定结县| 井陉县| 宁津县| 姚安县| 荣成市| 达州市| 区。| 库尔勒市| 闻喜县| 封丘县| 潢川县| 滕州市| 田阳县| 景洪市| 元谋县| 丹寨县| 平昌县| 霍山县|