Published: Aug 10, 2011 by Peachpit Press. Part of the Develop and Design series.
Copyright 2012
Dimensions: 7-3/8" x 9-1/8"
Pages: 272
Edition: 1st
Book
ISBN-10: 0-321-77256-3
ISBN-13: 978-0-321-77256-5
Description
Applied jQuery teaches readers how to quickly start writing application interfaces. The beautifully designed book offers practical techniques and provides lots of real-world advice and guidance. The Author, Jay Blanchard, has practical experience working in the field and wastes no time getting to the instruction, taking the reader from a beginner to a proficient interface programmer by the end of the book.Today's Web developers are are expected to be well versed in many different technologies. While it is good to have a shelf full of books that focus on single technologies, having a book that shows developers how to combine these technologies is key. This book takes the reader beyond the fundamental mechanics of individual technologies to illustrate the value and power of combining jQuery and PHP with templates and layouts handled by HTML and CSS.
Beginning to intermediate web developers designing and developing web application interfaces and web sites will learn how to blend these ingredient technologies, as well as how to secure jQuery.
Table of Contents
Introduction .................................................................viiiWelcome to jQuer y ....................................................xi
CHAPTER 1 INTRODUCINGJQUERY...................XIV
Making jQuery Work .....................................................2
Working with the DOM.................................................6
Learning a Few jQuery Tips ............................................9
Selecting Elements Specifically .........................................9
Making Quick Work of DOM Traversal.........................10
Troubleshooting with Firebug .........................................10
Packing Up Your Code..................................................11
Using Return False .........................................................15
Fiddling with jQuery Code ............................................ 16
Combining jQuery with Other Code ...............................18
Starting with HTML ......................................................18
Styling Web Pages with CSS...........................................18
Using PHP and MySQL..................................................18
Progressive Enhancement................................................19
Planning Design and Interaction........................................23
Wrapping Up ................................................................23
CHAPTER 2 WORKINGWITHEVENTS......................24
Using the Photographer’s Exchange Web site...................26
Making Navigation Graceful.............................................27
Creating and Calling Modal Windows ..............................27
Binding Events to Other Elements ....................................34
Building an Image Carousel .............................................34
Creating Sprite-based Navigation.....................................50
Wrapping Up .................................................................57
CHAPTER 3 MAKING FORMS POP...........................58
Leveraging Form Events...................................................60
Focusing on a Form Input.................................................60
Validat ing Email Addres s es..........................................62
Making Sure an Input Is Complete ...................................66
Tackling Uploads .............................................................69
Performing Client-side Validation.......................................69
Developing Server-side Validation.....................................72
Uploading Files.................................................................74
Wrapping Up ..................................................................89
CHAPTER 4 BEINGEFFECTIVEWITH AJAX...............90
Using AJAX for Validation.................................................92
Building the PHP Registration and Validation File................92
Setting Up the jQuery Validation and Registration Functions...100
Logging in the User ..............................................................105
Using AJAX to Update Content.............................................108
Getting Content Based on the Current User ...........................108
Loading Content Based on Request ......................................110
Loading Scripts Dynamically .................................................112
Using jQuery’s AJAX Extras ................................................116
Using JSON .........................................................................126
Securing AJAX Requests.......................................................134
Preventing Form Submission .................................................135
Using Cookies to Identify Users ............................................139
Cleansing User-supplied Data ................................................141
Transmitting Data Securely ....................................................144
Wrapping Up .......................................................................145
CHAPTER 5 APPLYINGJQUERY WIDGETS....................146
Using the jQuery UI Widgets..................................................148
Customizing the jQuery UI......................................................148
Including jQuery UI Widgets ..................................................152
Using jQuery Plugins ..............................................................171
Beefing Up Your Apps with Plugins.........................................172
Pumping Up Your Sites...........................................................188
Rolling Your Own Plugins .......................................................200
Wrapping Up ........................................................................203
CHAPTER 6 CREATING APPLICATIONINTERFACES...204
Establishing the Foundation ....................................................206
Creating the HTML................................................................207
Applying the CSS...................................................................209
Making the Interface Resizable ...............................................214
Improving the Application Interface ........................................217
Creating Better Sprites...........................................................217
Loading Content with AJAX..................................................226
Configuring Additional Enhancements ...................................235
Wrapping up.........................................................................247
Index....................................................................................248
Download
DepositfilesBy: Shahen Gasparyan
No comments:
Post a Comment