KnockoutJS Programming by Example

by Agus Kurniawan 28. August 2014 06:42


Today I published my new book about KnockoutJS Programming by Example. This book is a practical guide to KnockoutJS programming and provides how to integrate with several web technology such as HTML5, Bootstrap CSS, RequireJS, PHP, ASP.NET MVC, Node.js and It describes all the elements of the KnockoutJS API and illustrates their use with code examples.

Table of Content

1. Preparing Development Environment
1.1 Knockout
1.2 Development Tools
1.3 Hello World
2. Model-View-ViewModel (MVVM)
2.1 Geting Started
2.2 Building Simple MVVM Knockout
2.2.1 Creating Model
2.2.2 Creating ViewModel
2.2.3 Creating View (HTML)
2.2.4 Testing
3. Observables
3.1 Observables
3.2 Observable Arrays
3.3 Computed Observables
3.4 Computed Observables Writeable
4. Data Binding and Templates
4.1 Basic Data Binding
4.1.1 Handling Input Element
4.1.2 Select Element
4.1.3 Radio Button Element
4.14 Date Input
4.1.5 Range
4.1.6 CheckBox
4.1.7 Button
4.1.8 Output Result
4.1.9 Running Application
4.2 Repeating Data
4.3 Nested Repeating Data
4.4 The with Binding
4.5 The if and ifnot Binding
4.6 Knockout Template
4.7 Knockout with External Template File
4.8 Virtual Binding
5. Interacting with Server
5.1 Introduction
5.2 Getting Data
5.3 Posting Data
6. Knockout Modular: KnockoutJS and RequireJS
6.1 Knockout and RequireJS
6.2 Case Study: Smartphone Shop
6.2.1 Project Structure
6.2.2 Module Loader
6.2.3 Knockout Models
6.2.4 Knockout ViewModels and Template ModelViews Knockout Templates
6.2.5 Knockout View - index.html
6.2.6 Testing
7. KnockoutJS, PHP and MySQL
7.1 KnockoutJS on PHP
7.2 Building Database
7.3 Building Back-End
7.3.1 Handling CRUD
7.3.2 Handling JSON
7.4 Building Front-End
7.4.1 Knockout Model and ViewModel
7.4.2 HTML
7.5 Testing
8. KnockoutJS, ASP.NET MVC and SQL Server
8.1 AngularJS on ASP.NET MVC
8.2 Building Database
8.3 Building Back-End
8.3.1 Data Model and Database Access
8.3.2 ASP.NET MVC Controller
8.4 Building Front-End
8.4.1 Knockout Model and ViewModel
8.4.2 ASP.NET MVC Layout
8.4.3 ASP.NET MVC View with Knockout
8.5 Testing
9. KnockoutJS, Node.js, Express and MongoDB
9.1 KnockoutJS on Node.js and Express
9.2 Building Database
9.3 Initializing Project
9.4 Building Back-End
9.4.1 Database Access
9.4.2 Node.js and Express
9.5 Building Front-End
9.5.1 Knockout Model and ViewModel
9.5.2 HTML
9.6 Deployment
9.7 Testing
10. KnockoutJS, Node.js and
10.1 and Node.js
10.2 Initializing Project
10.3 Building Back-End
10.3.1 Generating Stock Data
10.3.2 Node.js and
10.4 Building Front-End
10.4.1 Knockout Model and ViewModel
10.4.2 Building HTML
10.5 Deployment
10.6 Testing


How to Buy

You can obtain this book on the following book online store.


Kindle Amazon,

Kobo Store, 

Google Play Book, 



Books | KnockoutJS

blog comments powered by Disqus

About Agus Kurniawan

Agus Kurniawan

For more detail about me click here [V]

Please entry your name into my guestbook [V]

If you want to contact me, please go here [V]

Go here for my professional services [V]

My Books

Tessel 2 Development Workshop 

Vue.js Programming by Example Administering and Developing SQL Server 2017 for Linux

Arduino MKRFOX1200 Development Workshop  Intelligent IoT Projects in 7 Days

Teensy Development Workshop Teensy 3.5 and Teensy 3.6 Boards Edition OpenMV Development Workshop

ESPresso Lite V2.0 Development Workshop  MicroPython for ESP32 Development Workshop

Arduino FIO Development Workshop  Getting Started with Android Things for Raspberry Pi 3

Pycom WiPy 2.0 Development Workshop  XBee ZigBee Development Workshop

SparkFun ESP32 Thing Development Workshop Getting Started With BBC micro:bit

Getting Started With Raspberry Pi Zero W Espruino Pico Development Workshop

Getting Started with ASP.NET Core for OS X, Linux, and Windows  Arduino TIAN Development Workshop

SimpleLink Wi-Fi CC3200 LaunchPad Development Workshop  MicroPython for ESP8266 Development Workshop

Smart Internet of Things Projects  Arduino UNO WiFi Development Workshop

XBee Wi-Fi development workshop SparkFun Simblee BLE Development Workshop

Mengenal Microsoft Azure ML Getting Started with Windows 10 IoT Core for Raspberry Pi 3

Arduino and Genuino Zero Development Workshop Go and SQL Server Programming By Example

Arduino and Genuino MKR1000 Development Workshop  Mengenal Microsoft Azure IoT

Getting Started with Raspberry Pi 3 PHP and PostgreSQL Programming By Example

Arduino and Genuino 101 Development Workshop Getting Started with Raspberry Pi Zero

Getting Started with Arduino Wiring for Windows 10 IoT Core Getting Started with Wolfram Language and Mathematica for Raspberry Pi

Arduino Uno: A Hands-On Guide for Beginner Arduino Leonardo and Arduino Micro: A Hands-On Guide for Beginner

RedBearLab CC3200 Development Workshop The Photon Kit Development Workshop

Python Programming by Example Raspberry Pi LED Blueprints

Bluno Beetle Development Workshop BeagleBone Black Programming using Matlab

Arduino Programming using MATLAB Digispark USB Development Workshop

Near Field Communication (NFC) for Embedded Applications Arduino Development for OSX and iOS

SparkFun ESP8266 Thing Development Workshop Teensy Development Workshop

Getting Started with Windows 10 for Raspberry 2 NodeMCU Development Workshop

Getting Started with ASP.NET 5 for OS X, Linux, and Windows Getting Started with Windows Remote Arduino

Redis Programming by Example The Hands-on ARM mbed Development Lab Manual

Getting Started With STM32 Nucleo Development Getting Started with Windows IoT and Intel Galileo

Learning C by Example Getting Started with Raspberry Pi 2

Getting Started with Arduino and Go The Hands-on Arduino Yún Manual Lab

The Hands-on MEAN Lab Manual, Volume 1 Go Programming by Example

Getting Started with Scratch for pcDuino Raspberry Pi Wireless Networks

BeagleBone Black Programming by Example Database Programming Using R

Learning R in 120 Minutes The Hands-on Intel Edison Manual Lab

Getting Started with pcDuino3 TI ARM Cortex-M LaunchPad Programming by Example

Raspberry Pi I/O Programming using Python Getting Started with Intel IoT and Intel Galileo

Pemrograman Java Tingkat Lanjut PHP and MongoDB Programming By Example

ASP.NET SignalR Programming By Example KnockoutJS Programming by Example

Getting Started with Java ME Embedded 8 and Raspberry Pi XBee IEEE 802.15.4 Programming

Raspberry Pi System Programming for Beginner Backbone.js Programming By Example

PHP and SQL Server Programming By Example AngularJS Programming by Example

jQuery Programming by Example Getting Started with Arduino and Ruby

Raspberry Pi Command Line for Beginner Getting Started with Arduino and Python

MSP430 LaunchPad Programming TypeScript Programming by Example

Getting Started with Matlab Simulink and Arduino SQL Server for Node.js

Pocket Reference: Netduino for Beginner Database Programming using Matlab

Pocket Reference: Basic Sensors in Windows 8 Getting Started with Matlab Simulink and Raspberry Pi

Getting Started with Arduino and Java  Pocket Reference: Raspberry Pi Programming

Getting Started with Arduino and Matlab Getting Started with Arduino and .NET

Pocket Reference: Raspberry Pi Getting Started with Arduino and Node.js

MongoDB for VB.NET Panduan Praktis Windows Azure

Network Forensics: Panduan Analisis Dan Investigasi Paket Data Jaringan Menggunakan Wireshark Object-Relational Mapping (ORM): MongoDB, Mongoosejs and Node.js By Example

Nodejs Programming by Example MongoDB for by Example

Pemrograman Parallel Dengan MPI dan C Panduan Lengkap iPad 2 Untuk Pemula

Pemrograman Jaringan Dengan Java Aplikasi Pilihan iPad Untuk Anak-Anak

Buku lainnya [V]

Agus Kurniawan is Microsoft MVP (Most Valuable Professional)

Agus Kurniawan- Github Profile

Agus Kurniawan- Codeplex Profile

Follow Me

Follow agusk2010 on Twitter

Month List