- KnockoutJS Blueprints
- Carlo Russo
- 304字
- 2021-07-23 20:27:35
What KnockoutJS is and where you can get it
KnockoutJS is a JavaScript library that helps build web applications easily.
It's not a framework, so it's wrong to try to compare it with other web development frameworks like Angular or Ember or Backbone; with KnockoutJS you don't find anything to help you with multiple-page applications, routing, or the interface your server should have.
If you are searching for a framework to build an Single Page Application (SPA), you could have a look at DurandalJS, which extends the capability of KnockoutJS with features (like routing) that you need to build an SPA.
KnockoutJS is, at its heart, a data-binding library for the web.
It means that it helps you to keep synchronized your web pages (written in HTML) with JavaScript objects. In this way, you can think about the models you want to show and how they interact with each other, instead of thinking about the structure of the page and how to get the information from there.
The website of this library is http://knockoutjs.com/.
You can download the KnockoutJS library from this link: http://knockoutjs.com/downloads/index.html.
In this book, we are going to use the latest version available at the time the book is being written, so here is the direct link to download it: http://knockoutjs.com/downloads/knockout-3.2.0.js.
The library we use is the minified version. You can find also a non-minified one, but use it only if you want to learn better how KnockoutJS works internally; as suggested on the download page, don't use it for normal application development, because it exposes additional unsupported private APIs.
Note
Before we move on, if you haven't done so yet, please try the live tutorial on using KnockoutJS, which you can find here: http://learn.knockoutjs.com/. You will learn the basic usage of KnockoutJS, and you'll find this book easier to understand.
- Mastering Concurrency Programming with Java 8
- Visual C++程序設(shè)計(jì)學(xué)習(xí)筆記
- Learning Docker
- Mastering Unity Shaders and Effects
- Kali Linux Wireless Penetration Testing Beginner's Guide(Third Edition)
- Mastering Drupal 8 Views
- 詳解MATLAB圖形繪制技術(shù)
- 深入淺出Go語(yǔ)言編程
- Image Processing with ImageJ
- Python數(shù)據(jù)可視化之美:專(zhuān)業(yè)圖表繪制指南(全彩)
- 貫通Tomcat開(kāi)發(fā)
- C# 7.0本質(zhì)論
- MonoTouch應(yīng)用開(kāi)發(fā)實(shí)踐指南:使用C#和.NET開(kāi)發(fā)iOS應(yīng)用
- 深度學(xué)習(xí):基于Python語(yǔ)言和TensorFlow平臺(tái)(視頻講解版)
- Swift編程實(shí)戰(zhàn):iOS應(yīng)用開(kāi)發(fā)實(shí)例及完整解決方案