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

Creating a starting environment for the project


In the previous chapter, I built a wireframe of each View before the real code, to have an idea of what we were going to build.

I'll do the same here, but before going directly to the code, it's better to prepare our workspace.

We already created the starting structure of the application. Cordova built many folders for us with all the starting code. The main folder of the project is www. You write your code inside that folder, because it's the container of our assets.

When you are ready to build the application to test inside the device, ask Cordova to build the application with the command:

cordova build

This will create an application package for each platform you added to the project inside the folders platforms/PLATFORM_NAME/build/.

We already decided which frameworks we are going to use, so we can start to put each library inside the www folder.

Make a folder named lib inside the www folder, then download the following libraries inside it:

  • jQuery...

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