Book Image

KnockoutJS Blueprints

By : Carlo Russo
Book Image

KnockoutJS Blueprints

By: Carlo Russo

Overview of this book

Table of Contents (12 chapters)
KnockoutJS Blueprints
About the Author
About the Reviewers

Chapter 3. SPA for Timesheet Management

In this chapter, we will realize a full-featured SPA for a shifts-based working company.

We will create a login form to give access to two different kinds of people: workers and team managers; we give them a dashboard to check the status of the days, and a grid to manage rest days, holiday assignation, and time-related tasks.

By the end of this chapter, you'll know:

  • What is an SPA, which kind of libraries/frameworks we can use to realize an SPA, and how to choose between them.

  • What is DurandalJS, and how can we use it for our project.

  • How to use the hash mark to create an improved navigation experience with multiple routes.

  • How to realize dashboards and grids (with sorting, paging, and asynchronous data loading).

Let's start with the project.