O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Ajax

Video Description

Ajax, shorthand for Asynchronous Javascript and XML, is a set of technologies that allows you to create Web applications that don't need to refresh Web pages in the browser. You can operate behind the scenes, connecting to the server, uploading and downloading data, and display the results in the browser using dynamic HTML. Using Ajax gives your Web pages the feel of a desktop application-the whole display will no longer flash when you click a button. VTC Author Steve Holzner helps you get started developing and building your own Ajax capable web pages. A familiarity with JavaScript, XML, PHP is recommended for this course. To begin learning, simply click the links.

Table of Contents

  1. Introduction
    1. Welcome 00:03:22
    2. System Requirements 00:06:35
  2. Getting to know Ajax
    1. Downloading Data Behind the Scenes 00:03:09
    2. Modifying Web Pages on the Fly 00:05:30
    3. Searching in Real Time with Live Searches 00:03:05
    4. Getting the Answer With Autocomplete 00:03:10
    5. Dragging and Dropping HTML Elements With Ajax 00:05:43
    6. Getting Instant Login Feedback 00:03:31
  3. Writing Ajax
    1. Working With JavaScript in Browsers 00:04:29
    2. Creating an XMLHttpRequest Object in JavaScript 00:07:48
    3. Checking the XMLHttpRequest Object's readyState property 00:04:19
    4. Checking the XMLHttpRequest Object's status property 00:03:23
    5. Getting Your Data With the XMLHttpRequest Object 00:04:54
    6. Problems creating an XMLHttpRequest Object 00:05:05
    7. Fetching Text Data From the Browser 00:05:22
    8. Decoding the Fetched Data 00:06:09
    9. Selecting Relative or Absolute URLs 00:03:30
    10. Getting XMLHttpRequest Objects in Other Ways 00:05:37
    11. Using Server-Side Scripting 00:05:18
    12. Storing Ajax Data in XML 00:05:59
    13. Fetching XML Data From the Server 00:05:21
    14. Extracting Data From XML 00:06:30
    15. Passing Data to the Server with GET 00:06:21
    16. Passing Data to the Server with POST 00:05:22
  4. Getting More Ajax Power
    1. Determining Which Browser the User Has 00:06:27
    2. Handling Head Requests for More Data 00:05:12
    3. Creating a Live Search Pt.1 00:07:28
    4. Creating a Live Search Pt.2 00:03:41
    5. Connecting to Google Suggest 00:04:24
    6. Calling a Different Domain Safely 00:03:53
    7. Using Two XMLHttpRequest objects 00:05:31
    8. Handling Multiple XMLHttpRequest Requests 00:04:17
    9. Returning JavaScript Objects From the Server 00:05:22
  5. Creating Ajax Applications
    1. Downloading Images Using Ajax 00:04:38
    2. Creating a Shopping Cart 00:02:31
    3. Handling Mouse Events 00:05:48
    4. Enabling Dragging 00:05:47
    5. Handling Drops 00:04:04
    6. Communicating With the Shopping Cart on the Server 00:03:04
    7. Creating an Ajax-driven Drop-down Menu System 00:05:57
    8. Downloading Data with Drop-down Menu System 00:03:00
    9. Displaying a Menu with a Drop-down Menu System 00:04:27
  6. Exploring The Browser-Side Ajax Frameworks
    1. Introducing Ajax Frameworks 00:01:57
    2. Creating Ajax With libXmlRequest 00:06:04
    3. Creating Ajax With AjaxLib 00:05:01
    4. Creating Ajax With XHConn 00:04:29
    5. Creating Ajax With Sack 00:04:41
    6. Creating Ajax With Interactive Website Framework 00:03:09
    7. Creating Ajax With Sarissa 00:05:16
  7. Exploring the Server-Side Ajax Frameworks
    1. Creating Ajax With PHP and Sajax Pt.1 00:04:04
    2. Creating Ajax With PHP and Sajax Pt.2 00:04:33
    3. Creating Ajax With PHP and Xajax 00:05:03
  8. Using XML With Ajax
    1. Understanding XML 00:05:03
    2. Loading XML into a Browser Object 00:04:10
    3. Navigating through XML Documents Using JavaScript 00:06:04
    4. Extracting data from text nodes 00:03:02
    5. Handling White Space in Mozilla and Firefox 00:04:50
    6. Accessing Attribute Values in XML Elements 00:07:01
    7. Accessing XML Elements by Name 00:04:10
    8. Validating XML You Get From the Server 00:06:25
    9. Validating XML With a DTD 00:03:19
  9. Using CSS With Ajax in Web Pages
    1. Introducing CSS 00:03:50
    2. Setting Styles 00:05:56
    3. Using an External Style Sheet 00:03:04
    4. Working with Text Styles 00:05:42
    5. Setting Colors and Backgrounds 00:04:37
    6. Getting Newly-displayed Text Noticed 00:05:52
    7. Showing Ajax Results 00:03:22
    8. Hiding Ajax Results 00:03:44
    9. Positioning Elements 00:03:30
    10. Positioning Elements: Absolute Positioning 00:03:39
    11. Positioning Elements: Relative Positioning 00:03:47
    12. Stacking 00:03:04
  10. Using PHP and Ajax
    1. Using PHP in Web Pages 00:03:07
    2. Understanding Basic PHP Syntax 00:03:37
    3. Working With Variables 00:05:08
    4. Working With Operators 00:04:54
    5. Working With Strings 00:05:48
    6. Working With Arrays 00:04:47
    7. Making Choices With the if Statement 00:02:08
    8. Using the switch Statement 00:04:03
    9. Using for Loops in PHP 00:03:58
    10. Using while Loops in PHP 00:02:24
    11. Sending Data to the Server 00:05:43
    12. Extracting Data from Text Fields 00:03:42
    13. Extracting Data from Checkboxes 00:04:13
    14. Extracting Data from Radio Buttons 00:03:10
    15. Extracting Data from Listboxes 00:04:28
    16. Uploading Files 00:03:21
    17. Reading Uploaded Files 00:04:32
    18. Redirecting the Browser 00:02:58
  11. Doing It Right: Ajax Best Practices
    1. Handling the Back Button 00:02:33
    2. Remember - Google Can't See Your Ajax Content 00:01:53
    3. Watching Out for Browser Caching 00:03:50
    4. Giving Visual Cues 00:02:42
    5. Wrap-up 00:03:20
  12. Credits
    1. About the Author 00:00:40