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

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.

主站蜘蛛池模板: 五河县| 新营市| 比如县| 文登市| 密山市| 木兰县| 新泰市| 辽中县| 会昌县| 大洼县| 治多县| 德保县| 临江市| 乌海市| 泾源县| 丹寨县| 肇州县| 克拉玛依市| 湛江市| 房山区| 新建县| 静海县| 营口市| 阜康市| 循化| 海原县| 蓝田县| 西昌市| 西城区| 中超| 舟山市| 武穴市| 封丘县| 浙江省| 社会| 蛟河市| 秦皇岛市| 固镇县| 汾阳市| 南皮县| 沧州市|