Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
KNOCKOUTJS BLUEPRINTS

You're reading from   KNOCKOUTJS BLUEPRINTS Learn how to design and create amazing web applications using KnockoutJS

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781783980840
Length 218 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Carlo Russo Carlo Russo
Author Profile Icon Carlo Russo
Carlo Russo
Arrow right icon
View More author details
Toc

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image