Knockout is a JavaScript MVVM (a modern variant of MVC) library that makes it easier to create rich, desktop-like user interfaces with JavaScript and HTML. It uses observers to make your UI automatically stay in sync with an underlying data model, along with a powerful and extensible set of declarative bindings to enable productive development.
##Getting started
Totally new to Knockout? The most fun place to start is the online interactive tutorials.
For more details, see
- Documentation on the project's website
- Online examples at http://knockoutjs.com/examples/
##Downloading or building Knockout
You can download released versions of Knockout from the project's website.
Or, if you prefer to build the source yourself, clone the repo from Github, and then run ./build/build.sh
.
If you're running Windows, you must execute ./build/build.sh
from inside Git Bash, not the built-in Windows command prompt. If you have Git for Windows installed, then you already have Git Bash installed.
If you have phantomjs installed, then the build.sh
script will automatically run the specification suite and report its results.
Or, if you want to run the specs in a browser (e.g., for debugging), simply open spec/runner.html
in your browser.
##License
MIT license - http://www.opensource.org/licenses/mit-license.php