Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying KNOCKOUTJS BLUEPRINTS
  • Table Of Contents Toc
KNOCKOUTJS BLUEPRINTS

KNOCKOUTJS BLUEPRINTS

By : Carlo Russo
5 (1)
close
close
KNOCKOUTJS BLUEPRINTS

KNOCKOUTJS BLUEPRINTS

5 (1)
By: Carlo Russo

Overview of this book

If you are a JavaScript developer and already know the basics of KnockoutJS and you want to get the most out of it, then this book is for you. This book will help in your transition from a small site to a large web application that is easily maintainable.
Table of Contents (7 chapters)
close
close
6
Index

Building the application with jQuery Mobile


From the specification, we have four kinds of entities:

  • Accounts

  • Categories

  • Customers

  • Transactions

We will track all of them inside a database, and our interface will be a simple CRUD for these entities.

Note

Create, read, update, and delete (CRUD) is the basic operation you can perform with an entity of a persistent storage (such as the WebSQL we use with Cordova).

Speaking about CRUD and user interface, you should build the interface to create new items, to list them all, to look through the detail of a single item, to modify and save the changes, and finally, to delete them.

For this reason, this will be the layout of this application:

We put a few buttons in the footer to give the user a way to navigate between entities' pages.

In this layout, I excluded the customer view because we will use this application with a mobile device, with a real small resolution, so we cannot put too much text in the header/footer.

Note

In this chapter, we will build only the...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
KNOCKOUTJS BLUEPRINTS
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon