Posts

Showing posts with the label KnockoutJs

KnockoutJs 2023

KNOCKOUT.JS Overall:  Knockout is a JavaScript library that offers Model-View-View Model pattern (MVVM) for Javascript. Its competitors are ReactJs, AngularJs and SolidJs. Small & lightweight — 66kb minified No dependencies Pure JavaScript library works with any server or client-side technology.   Background:  I have been to a number of lectures on Knockout many years ago at the Dallas .NET conferences, but interviewed with a company that actively still uses Knockout.  With everyone focused on React and Angular, I wanted to understand better about Knockout.  So this document is a high-level recap of what the modern Knockout does. Bindings: Easily associate DOM elements with model data using a concise, readable syntax Auto UI Refresh: When your data model's state changes, your UI updates automatically Dependency Tracking: Implicitly set up chains of relationships between model data, to transform and combine it Templating: Quickly generate sophisticate...