O'Reilly logo

KnockoutJS Starter by Eric M. Barnard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Quick start

Sometimes the best way to learn a library is to use it to solve real-world problems. In this section we will learn to use Knockout to build an often needed business tool—an Inventory Management app.

Business overview

Before we can begin building our app, we need to have a firm understanding of the business needs that our application will solve. The app needs to be able to do the following things:

  • Track the Stock Keeping Unit (SKU) number and Description of each product that the company sells
  • Assign a price, cost, and on-hand quantity to each product
  • Create new products when the company decides to sell them
  • Remove old products when the company decides to stop selling them

Step 1 – Defining a namespace

Now, before we begin to actually develop ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required