So what is Knockout? It’s one of the stable, reliable libraries and frameworks OJET utilises (discuss further in my first post) to provide a basis for UI development.
Take a look at the key concepts of JS below:
So, what can be achieved with knockout?
Dynamic, One-page applications primarily. With the potential for feature-rich development, given the range of examples on the cookbook there’s a lot to go at.
Here’s a particular favourite aspect of the code – the use of $root. prefix. Which allows knockout.js to search the entire viewmodel for an object matching your input rather than just that codeblock.
Thanks for reading…