Book Image

jQuery UI 1.8: The User Interface Library for jQuery

By : Dan Wellman
Book Image

jQuery UI 1.8: The User Interface Library for jQuery

By: Dan Wellman

Overview of this book

<p>jQuery UI, the official suite of plugins for the jQuery JavaScript library, gives you a solid platform on which to build rich and engaging interfaces with maximum compatibility, stability, and a minimum of time and effort.</p> <p>jQuery UI has a series of ready-made user interface widgets and a comprehensive set of core interaction helpers to reduce the amount of code that you need to write to take a project from conception to completion.<br /><br />jQuery UI 1.8: The User Interface Library for jQuery has been specially revised for version 1.8 of jQuery UI. It is written to maximize your experience with the library by breaking down each component and walking you through examples that progressively build upon your knowledge, taking you from beginner to advanced usage in a series of easy-to-follow steps.<br /><br />Throughout the book, you'll learn how each component can be initialized in a basic default implementation and then customize and configure each component to tailor it to your application. You'll look at the configuration options and the methods exposed by each component's API to see how these can be used to bring out the best of the library. Each chapter will also show you the custom events fired by the component covered and how these events can be intercepted and acted upon.</p>
Table of Contents (21 chapters)
jQuery UI 1.8 The User Interface Library for jQuery
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Setting up a development environment


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.