Learning KnockoutJS will walk you through all of the key features of KnockoutJS and make it easy for you to quickly and easily build feature-and data-rich web applications that are easy to extend and maintain.
Along with that, you will also learn how we can use the different data binding attributes to manipulate the output. We will also discuss and implement various important concepts such as two way data binding and dependency tracking to update your UI in real-time and to separate the components of your application into logical parts.
We will analyze Knockout's template feature to help you deal with data context in most scenarios. Then, we will take a look at how to track the changes in dependencies and subscribe to them using computed observables and subscriptions. Furthermore, you will also learn how to customize bindings and functions as well as using extenders to create our own set of Knockout tools. Finally, we will take a look at some advanced features of KnockoutJS to take your knowledge to the next level!
About The Author
Robert Gaut is a father, husband, musician, photographer, martial artist, and software developer. He began his career teaching application and database development at a technical college. After several years teaching, he spent more than a decade developing web-based content management systems for the automotive industry. He currently works for a large public school district where he develops business applications and data integration processes using Microsoft technologies.
This video will provide an overview of what will be taught in this course. We will orient the viewer on what KnockoutJS is and what it can accomplish for them; also, a sample project will be demonstrated.
We will explain the MVVM software design pattern in relation to other MV* patterns (such as MVC and MVP). Describe how KnockoutJS uses MVVM in a web environment.
Describe the Observer software design pattern and how KnockoutJS implements it using the observable and observableArray data types.
We will create a website with the necessary Models, Views, and ViewModels to establish a KnockoutJS application.
In order to display our model's data, we need to add data-binding syntax to the markup in our View.
There are several ways to data-bind attributes on HTML elements with KnockoutJS. We will take a look at three ways of manipulating attributes with KnockoutJS.
We will take a closer look at how to update the View Model from an HTML form element as well as populate an HTML form element with data from the View Model.
Investigate how to data-bind various HTML form elements with KnockoutJS.
Demonstrate additional bindings that can help control the appearance and functionality of HTML form elements.
Context is fundamental to the MVVM pattern and data-binding. Yet, it's often misunderstood. Demonstrate and explain the commonly used context objects in KnockoutJS.
Templates allow Knockout developers to consolidate and share UI elements among many data-binding scenarios. Templates create a new binding context; it's necessary to understand how to deal with the new context.
Sometimes, it's necessary to use multiple ViewModels in a single View. We examine a few methods to compose a View and View Model using multiple ViewModels.
There are times when you want to bind to a different representation of your data than what is provided in the raw data. Using computed and pureComputed observables, you can accomplish this task.
Subscribing to observables allows you to intercept changes made to them and perform additional tasks.
You can attach custom functions to Knockout's core value types to extend their functionality.
Extenders allow you to augment the functionality of observables by adding new properties.
Custom bindings are a way of encapsulating behavior and exposing it in the same way in which you use 'text' or 'foreach' bindings.
Components and custom elements allow you to consolidate often-used code into a single, reusable unit.
AMD module loaders make it easy to modularize your code and load dependencies.
Durandal is a framework that uses KnockoutJS and RequireJS to build single-page applications.
Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.
With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.
From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.
Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.