We'll need a location to unpack the jQuery UI library in order to easily access the different parts of it within our own files. We should first create a project folder, into which all of our example files, as well as all of the library and other associated resources, can be saved.
Create a new directory in your C:
drive, or in your home directory, and call it jqueryui
. This will be the root folder of our project and will be the location where we store all of the example files that we'll make over the course of the book.
Note
The structure of the accompanying code download for this book will mirror the local environment we are creating.
To unpack the library, open it up in a compression program, such as the open source 7-
zip
, and choose the extract
or unzip
command. When prompted for a location to unpack the archive to, choose the jqueryui
folder that we just created.
Note
7-zip can be found at: http://www.7-zip.org/
The code examples that we'll be looking at use other resources, mostly images, but occasionally some PHP files too. The accompanying code download available on Packt's website contains all of the images that we'll be using. You should download this now if you can. Visit: http://www.packtpub.com/support/book/user-interface-library-for-jquery. You'll need to create a new folder within the jqueryui
project folder and call it img
, then unpack all of the images within the img
folder in the archive, to this new folder.
The code download also contains all the examples files as well as the library itself. These files are provided in the hope that they will be used for reference purposes only. I'd urge you to follow the examples in the book as you go along, manually creating each file as it is shown, instead of just referring to the files in the code download. The best way to learn code is to code.
This is all that we need to do, no additional platforms or applications need to be installed and nothing needs to be configured or set up. As long as you have a browser and some kind of code or text editor, everything is in place to begin developing with the library.