Knockout Fundamentals

Web developers who want to use the Knockout library

Prerequisite
None

Expected Duration
112 minutes

Description
Knockout is a JavaScript library used to develop user interfaces based on the Model-View-View-Model (MVVM) pattern. Fundamental to Knockout is the use of observables. In this course, you’ll learn how to get started with Knockout, how to work with observables, how to control text and its appearance, and how to work with control flow bindings.

Objective

Getting Started with Knockout

  • start the course
  • define a UI’s appearance using bindings in Knockout
  • describe the role of the view in binding in Knockout
  • describe the role of the View Model in binding in Knockout
  • implement a binding with Knockout
  • extend a text binding with Knockout

Using Observables

  • use Knockout’s ko.observable syntax to monitor elements subject to dynamic change in a form
  • configure a view model with observables in Knockout
  • use computed observables in Knockout
  • configure a view to use computed observables in Knockout
  • configure a view model to use computed observables in Knockout
  • implement observables in Knockout using computed values
  • monitor and use computed observables in Knockout by defining functions for numberOfClicks, hasClickedALot, registerClick, and resetClicks
  • reconstruct an entire computed observable model in Knockout
  • work with observable arrays in Knockout

Working with Text

  • configure a view to implement text binding
  • configure a view model to implement text binding
  • set text with Knockout without using a container element
  • use html bindings in Knockout
  • construct a view to implement CSS binding with static classes using Knockout
  • use a view model to implement CSS binding with dynamic classes using Knockout
  • construct a view to apply style binding to a DOM element using Knockout
  • use a view model to manipulate a style binding using Knockout
  • construct a view to apply an attr binding to a DOM element using Knockout
  • use a view model to apply an attr binding to a DOM element using Knockout

Flow Control

  • construct a view to implement foreach binding using Knockout
  • use a view model to apply an foreach binding using Knockout
  • apply an if binding using Knockout
  • apply an ifnot binding using Knockout
  • apply a with binding using Knockout
  • use a view model to apply a with binding using Knockout

MONTHLY SUBSCRIPTION

$129/month
 

ANNUAL SUBSCRIPTION

$1295/year

Multi-license discounts available for Annual and Monthly subscriptions.