Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
AJAX and PHP: Building Responsive Web Applications

You're reading from   AJAX and PHP: Building Responsive Web Applications Enhance the user experience of your PHP website using AJAX with this practical tutorial featuring detailed case studies

Arrow left icon
Product type Paperback
Published in Mar 2006
Publisher Packt
ISBN-13 9781904811824
Length 284 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (17) Chapters Close

AJAX and PHP
Credits
About the Authors
About the Reviewers
Preface
1. AJAX and the Future of Web Applications FREE CHAPTER 2. Client-Side Techniques with Smarter JavaScript 3. Server-Side Techniqueswith PHP and MySQL 4. AJAX Form Validation 5. AJAX Chat 6. AJAX Suggest and Autocomplete 7. AJAX Real-Time Charting with SVG 8. AJAX Grid 9. AJAX RSS Reader 10. AJAX Drag and Drop Preparing Your Working Environment Index

Index

A

  • abort() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • addPoint() function, realTimeChart.js / What Just Happened?
  • addToCache() function, AJAX Suggest and Autocomplete / What Just Happened?
  • aggregator / The RSS Document Structure
  • AJAX / Understanding AJAX
    • benefits / Understanding AJAX
    • problems / Understanding AJAX
    • simple quickstart application / Building a Simple Application with AJAX and PHP
    • JavaScript and DOM / JavaScript and the Document Object Model
    • complete AJAX application / Wrapping Things Up and Laying Out the Structure
    • thread safe / Thread-Safe AJAX
    • chat / Introducing AJAX Chat
    • realtime SVG charting / Implementing a Real-Time Chart with AJAX and SVG
    • RSS reader application / Implementing the AJAX RSS Reader
    • database preparation / Preparing the AJAX Database
  • ajaxRequest() method, ajaxRequest.js / What Just Happened?
  • ALTER command, MySQL / Creating Database Tables
  • Apache installation
    • Windows / Installing Apache
    • Unix / Installing Apache
  • ASP.NET / PHP and Other Server-Side Technologies
  • asynchronous calls
    • XMLHttpRequest / Time for Action—Making Asynchronous Calls with XMLHttpRequestasynchronous calls, XMLHttpRequestasynchronous callsXMLHttpRequest
    • XMLHttpRequest and XML / Time for Action—Making Asynchronous Calls with XMLHttpRequest and XML
  • asynchronous calls, XMLHttpRequest / Time for Action—Making Asynchronous Calls with XMLHttpRequestasynchronous calls, XMLHttpRequestasynchronous callsXMLHttpRequest
  • asynchronous calls with XMLHttpRequest
    • async.txt / Time for Action—Making Asynchronous Calls with XMLHttpRequestasynchronous calls, XMLHttpRequestasynchronous callsXMLHttpRequest
    • async.html / Time for Action—Making Asynchronous Calls with XMLHttpRequestasynchronous calls, XMLHttpRequestasynchronous callsXMLHttpRequest, What Just Happened?
    • async.js / Time for Action—Making Asynchronous Calls with XMLHttpRequestasynchronous calls, XMLHttpRequestasynchronous callsXMLHttpRequest
  • Asynchronous Calls with XMLHttpRequest and XML
    • books.xml / Time for Action—Making Asynchronous Calls with XMLHttpRequest and XML
    • books.html / Time for Action—Making Asynchronous Calls with XMLHttpRequest and XML
    • books.js / Time for Action—Making Asynchronous Calls with XMLHttpRequest and XML
  • asynchronous requests, repetitive / A Framework for Making Repetitive Asynchronous Requests
  • async parameter, open() method / Initiating Server Requests Using XMLHttpRequest
  • authentication, database security / Connecting to Your Database and Executing Queries
  • authorization, database security / Connecting to Your Database and Executing Queries
  • autocompleteKeyword() function, AJAX Suggest and Autocomplete / What Just Happened?
  • auto_increment column, MySQL / Time for Action—Working with PHP and MySQL

B

  • browser security / Connecting to Remote Servers and JavaScript Security

C

  • cascading style sheets / JavaScript, DOM, and CSS
  • chat application, AJAX
    • about / Implementing AJAX Chat
    • error_handler.php / Time for Action—Ajax Chat
    • chat.php / Time for Action—Ajax Chat, What just happened?
    • chat.class.php / Time for Action—Ajax Chat, What just happened?
    • get_color.php / Time for Action—Ajax Chat
    • chat.css / Time for Action—Ajax Chat
    • index.html / Time for Action—Ajax Chat
    • chat.js / Time for Action—Ajax Chat
    • scroll layer / What just happened?
    • choosing a color / What just happened?
    • error_handler / What just happened?
    • config.php / What just happened?
  • chat solutions, AJAX / AJAX Chat Solutions
  • checkCache() function, AJAX Suggest and Autocomplete / What Just Happened?
  • checkForChanges() function, AJAX Suggest and Autocomplete / What Just Happened?
  • checkUsername() function, AJAX chat / What just happened?
  • classes, OOP / Wrapping Things Up and Laying Out the Structure
  • class members / Wrapping Things Up and Laying Out the Structure
  • clearInterval() function / A Framework for Making Repetitive Asynchronous Requests
  • client-side technologies / HTTP and HTML
  • client-side validation / Implementing AJAX Form Validation
  • Client URL Library (CURL) / Using a Proxy Server Script
  • code structure, PHP / Wrapping Things Up and Laying Out the Structure
  • constructors, OOP / Wrapping Things Up and Laying Out the Structure
  • createPointInfo() function, realTimeChart.js / What Just Happened?
  • createTextRange() function, AJAX Suggest and Autocomplete / What Just Happened?
  • createXmlHttpRequestObject() function / Creating the XMLHttpRequest Object, Creating Better Objects for Internet Explorer
  • createXmlHttpRequestObject() function, quickstart.js / What Just Happened?
  • creating database tables, MySQL / Creating Database Tables
  • creating XML structures / Creating XML Structures
  • CRssReader class, rss_reader.php / What Just Happened?
  • CSS / JavaScript, DOM, and CSS
  • CSS and JavaScript
    • csstest.html / Time for Action—Working with CSS and JavaScript
    • csstest.js / Time for Action—Working with CSS and JavaScript
    • styles.css / Time for Action—Working with CSS and JavaScript, What Just Happened?
  • CURL / Using a Proxy Server Script

D

  • data access, remote server / Using a Proxy Server Script
  • database connection / Connecting to Your Database and Executing Queries
  • database preparation, AJAX / Preparing the AJAX Database
  • database security / Connecting to Your Database and Executing Queries
  • database server / PHP and Other Server-Side Technologies
  • database tables, creating / Creating Database Tables
  • data grid
    • grid.php / Time for Action—AJAX Grid, What Just Happened?
    • grid.class.php / Time for Action—AJAX Grid
    • config.php / Time for Action—AJAX Grid
    • error_handler.php / Time for Action—AJAX Grid
    • index.html / Time for Action—AJAX Grid
    • grid.xsl / Time for Action—AJAX Grid, What Just Happened?
    • grid.js / Time for Action—AJAX Grid, What Just Happened?
    • grid.css / Time for Action—AJAX Grid
  • data manipulation, MySQL / Manipulating Data
  • Data Manipulation Language (DML) / Manipulating Data
  • data type, MySQL / Creating Database Tables
  • DELETE command, MySQL / Manipulating Data
  • deleteMessages() function, AJAX chat / What just happened?
  • deselectAll() function, AJAX Suggest and Autocomplete / What Just Happened?
  • destructors, OOP / Wrapping Things Up and Laying Out the Structure
  • displayError() function, AJAX chat / What just happened?
  • displayMessage() function, AJAX chat / What just happened?
  • displayMessages() function, AJAX chat / What just happened?
  • displayResults() function, AJAX Suggest and Autocomplete / What Just Happened?
  • display_errors option, php.ini / What Just Happened?, What Just Happened?
  • div element / JavaScript Events and the DOM
  • DML commands, MySQL / Manipulating Data
  • document.write command / JavaScript and the Document Object Model
  • Document Object Model / Understanding AJAX, JavaScript and the Document Object Model
    • client-side uses / JavaScript and the Document Object Model
    • server-side uses / JavaScript and the Document Object Model
  • document structure, RSS / The RSS Document Structure
  • DOM / Understanding AJAX, JavaScript and the Document Object Model
  • DOMDocument class, PHP DOM / What Just Happened?
  • DOM functions, PHP / PHP and DOM
  • drag and drop
    • shopping carts / Shopping Carts
    • sortable lists / Sortable Lists
    • AJAX sortable list application / Building the AJAX Drag-and-Drop Sortable List Application
  • DROP command, MySQL / Creating Database Tables

E

  • encodeURIComponent() function, JavaScript / What Just Happened?, What just happened?
  • errors, handling / Handling More Errors and Throwing Exceptions
    • Firefox JavaScript console / Handling More Errors and Throwing Exceptions
    • try/catch mechanism / Handling More Errors and Throwing Exceptions
    • Opera / Handling More Errors and Throwing Exceptions
    • Internet Explorer / Handling More Errors and Throwing Exceptions
    • PHP / Passing Parameters and Handling PHP Errors, What Just Happened?
  • errors, PHP5 / What Just Happened?
  • escape() function, AJAX Suggest and Autocomplete / What Just Happened?
  • Even More DOM application
    • evenmorejsdom.html / Time for Action—Even More DOM
    • evenmorejsdom.js / Time for Action—Even More DOM
  • event object, AJAX Suggest and Autocomplete / What Just Happened?
  • events, JavaScript / JavaScript Events and the DOM
  • exception handling, JavaScript / Creating the XMLHttpRequest Object
  • exceptions, throwing / Handling More Errors and Throwing Exceptions

F

  • fetch_array() method, MySQL / What Just Happened?
  • FIFO structure, message queue / Thread-Safe AJAX
  • file_get_contents() function / Using a Proxy Server Script, What Just Happened?, What Just Happened?
  • Firefox JavaScript console, error handling / Handling More Errors and Throwing Exceptions
  • form validation with AJAX
    • create table / Time for Action—AJAX Form Validation
    • populate table / Time for Action—AJAX Form Validation
    • validate.css / Time for Action—AJAX Form Validation
    • index_top.php / Time for Action—AJAX Form Validation, What Just Happened?
    • index.php / Time for Action—AJAX Form Validation, What Just Happened?
    • allok.php / Time for Action—AJAX Form Validation
    • validate.js / Time for Action—AJAX Form Validation, What Just Happened?
    • config.php / Time for Action—AJAX Form Validation
    • error_handler.php / Time for Action—AJAX Form Validation
    • validate.php / Time for Action—AJAX Form Validation
    • validate.class.php / Time for Action—AJAX Form Validation, What Just Happened?
  • framework, repetitive asynchronous requests / A Framework for Making Repetitive Asynchronous Requests
  • Friendly AJAX application
    • about / Wrapping Things Up and Laying Out the Structure
    • index.html / Wrapping Things Up and Laying Out the Structure, Time for Action—Building the Friendly Application
    • friendly.css / Wrapping Things Up and Laying Out the Structure, Time for Action—Building the Friendly Application
    • friendly.js / Wrapping Things Up and Laying Out the Structure, Time for Action—Building the Friendly Application, What Just Happened?
    • friendly.php / Wrapping Things Up and Laying Out the Structure, Time for Action—Building the Friendly Application, What Just Happened?
    • friendly.class.php / Wrapping Things Up and Laying Out the Structure, Time for Action—Building the Friendly Application, What Just Happened?
    • config.php / Wrapping Things Up and Laying Out the Structure, Time for Action—Building the Friendly Application
    • error_handler.php / Wrapping Things Up and Laying Out the Structure, Time for Action—Building the Friendly Application

G

  • getAllResponseHeaders() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • getColor() function , AJAX chat / What just happened?
  • getFormattedXML() function / What Just Happened?
  • getMouseXY() function, AJAX chat / What just happened?
  • getResponseHeader() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • getSuggestions() function, AJAX Suggest and Autocomplete / What Just Happened?
  • GMail / Understanding AJAX
  • Google Maps / Understanding AJAX
  • Google Reader / Google Reader
  • Google Suggest / Understanding AJAX, Google Suggest

H

  • handleCheckingAvailability() function / What Just Happened?
  • handleGettingColor() function, AJAX chat / What just happened?
  • handleGettingNumber() function / What Just Happened?
  • handleGettingResults() method, ajaxRequest.js / What Just Happened?
  • handleGettingSuggestions() function, AJAX Suggest and Autocomplete / What Just Happened?
  • handleKey() function, AJAX chat / What just happened?
  • handleKeyUp() function, AJAX Suggest and Autocomplete / What Just Happened?
  • handleOnMouseOut() function, AJAX Suggest and Autocomplete / What Just Happened?
  • handleOnMouseOver() function, AJAX Suggest and Autocomplete / What Just Happened?
  • handleReceivingMessages() function, AJAX chat / What just happened?
  • handleRequestStateChange() function / What Just Happened?
  • handleRequestStateChange()method / Handling Server Response
  • handleResults() function, realTimeChart.js / What Just Happened?
  • handleServerResponse() function, books.js / What Just Happened?
  • handleServerResponse() function, quickstart.js / What Just Happened?
  • hideSuggestions() function, AJAX Suggest and / What Just Happened?
  • HTML / HTTP and HTML
  • HTTP / HTTP and HTML
  • HTTPS / HTTP and HTML
  • HyperText Markup Language / HTTP and HTML

I

  • imagecreatefrompng() function, AJAX chat / What just happened?
  • indexes, MySQL / Creating Database Tables
  • init() function, AJAX chat / What just happened?
  • init() function, realTimeChart.js / What Just Happened?
  • innerHTML property, DOM / What Just Happened?
  • INSERT command, MySQL / Manipulating Data
  • installation, Unix
    • Apache / Installing Apache
    • MySQL / Installing MySQL
    • PHP / Installing PHP
  • installation, Windows / Preparing Your Windows Playground
    • Apache / Installing Apache
    • MySQL / Installing MySQL
    • PHP / Installing PHP
  • Internet Explorer security / Connecting to Remote Servers and JavaScript Security
  • int imagecolorat() function, AJAX chat / What just happened?
  • IRC client integration, AJAX chat / Introducing AJAX Chat
  • isDatabaseCleared() function, AJAX chat / What just happened?

J

  • JavaScript / JavaScript and Other Client-Side Technologies, JavaScript and the Document Object Model
    • client-side uses / JavaScript and the Document Object Model
    • seperate js files / JavaScript and the Document Object Model
    • events / JavaScript Events and the DOM
    • security / Connecting to Remote Servers and JavaScript Security
    • repetitive functions / A Framework for Making Repetitive Asynchronous Requests
  • JavaScript and DOM application
    • jsdom.html / Time for Action—Playing with JavaScript and the DOM
    • jsdom.js / Time for Action—Playing with JavaScript and the DOM
  • JavaScript events and DOM
    • morejsdom.html / Time for Action—Using JavaScript Events and the DOM
    • morejsdom.js / Time for Action—Using JavaScript Events and the DOM, What Just Happened?
  • JavaScript Object Notation / Understanding AJAX
  • Java Virtual Machine / JavaScript and Other Client-Side Technologies
  • JVM / JavaScript and Other Client-Side Technologies

L

  • loadGridPage() function / What Just Happened?
  • loadStylesheet() function / What Just Happened?

M

  • manipulating data, MySQL / Manipulating Data
  • Meebo, AJAX chat solution / AJAX Chat Solutions
  • message queue, thread-safe AJAX / Thread-Safe AJAX
  • MySQL
    • about / Working with MySQL
    • creating database tables / Creating Database Tables
    • primary key / Creating Database Tables
    • NOT NULL property / Creating Database Tables
    • indexes / Creating Database Tables
    • phpMyAdmin / Creating Database Tables
    • DML commands / Manipulating Data
    • data manipulation / Manipulating Data
    • connecting to database / Connecting to Your Database and Executing Queries
  • MySQL installation
    • Windows / Installing MySQL
    • Unix / Installing MySQL

N

  • NOT NULL property, MySQL / Creating Database Tables

O

  • object detection, JavaScript / Creating the XMLHttpRequest Object
  • Object Oriented Programming (OOP) / Wrapping Things Up and Laying Out the Structure
  • ob_clean() function, error handling / What Just Happened?
  • onclick event, AJAX Suggest and Autocomplete / What Just Happened?
  • onkeyup event, AJAX Suggest and Autocomplete / What Just Happened?
  • onload event / What Just Happened?
  • onreadystatechange() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • OOP / Wrapping Things Up and Laying Out the Structure
  • open() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • Opera security / Connecting to Remote Servers and JavaScript Security

P

  • page caching, PHP / What Just Happened?
  • page expiration header, proxyping.php / What Just Happened?
  • parameters passing, PHP / Passing Parameters and Handling PHP Errors
  • PHP / PHP and Other Server-Side Technologies, PHP and DOM
    • server-side uses / JavaScript and the Document Object Model
    • DOM / PHP and DOM
    • error handling / Passing Parameters and Handling PHP Errors
    • passing parameters / Passing Parameters and Handling PHP Errors
    • JavaScript security / Connecting to Remote Servers and JavaScript Security
    • remote servers / Connecting to Remote Servers and JavaScript Security
    • proxy server script / Using a Proxy Server Script
    • page caching / What Just Happened?
    • working with MySQL / Working with MySQL
    • connecting to database / Connecting to Your Database and Executing Queries
    • code structure / Wrapping Things Up and Laying Out the Structure
    • OOP / Wrapping Things Up and Laying Out the Structure
    • form validation / Implementing AJAX Form Validation, What Just Happened?
  • PHP5 errors / What Just Happened?
  • PHP and MySQL application
    • create tables / Time for Action—Working with PHP and MySQL
    • populate tables / Time for Action—Working with PHP and MySQL
    • config.php / Time for Action—Working with PHP and MySQL
    • error_handler.php / Time for Action—Working with PHP and MySQL
    • index.php / Time for Action—Working with PHP and MySQL
  • PHP DOM / PHP and DOM
  • PHP installation
    • Windows / Installing PHP
    • Unix / Installing PHP
  • phpMyAdmin
    • creating tables / Creating Database Tables
  • phpMyAdmin, MySQL / Creating Database Tables
  • phpMyAdmin installation / Installing phpMyAdmin
  • PHP Parameters and Error Handling
    • morephp.html / Time for Action—Passing PHP Parameters and Error Handling
    • morephp.js / Time for Action—Passing PHP Parameters and Error Handling
    • morephp.php / Time for Action—Passing PHP Parameters and Error Handling
    • error_handler.php / Time for Action—Passing PHP Parameters and Error Handling, What Just Happened?
  • placeholders / JavaScript Events and the DOM
  • postMessages() function, AJAX chat / What just happened?
  • preparing database, AJAX / Preparing the AJAX Database
  • primary key, MySQL / Creating Database Tables
  • private class members / Wrapping Things Up and Laying Out the Structure
  • process() function, quickstart.js / What Just Happened?
  • Prototype JavaScript framework / Building the AJAX Drag-and-Drop Sortable List Application
  • proxy PHP script / Using a Proxy Server Script
  • proxy server script / Using a Proxy Server Script
  • proxy server script for remote access
    • proxyping.html / Time for Action—Using a Proxy Server Script to Access Remote Servers
    • proxyping.js / Time for Action—Using a Proxy Server Script to Access Remote Servers
    • proxyping.php / Time for Action—Using a Proxy Server Script to Access Remote Servers
    • error_handler.php / Time for Action—Using a Proxy Server Script to Access Remote Servers
  • public interface, classes / Wrapping Things Up and Laying Out the Structure
  • public members, classes / Wrapping Things Up and Laying Out the Structure

Q

  • queue / Thread-Safe AJAX
  • Quickstart AJAX application
    • index.html / Time for Action—Quickstart AJAX
    • quickstart.js / Time for Action—Quickstart AJAX, What Just Happened?
    • quickstart.php / Time for Action—Quickstart AJAX
  • quickstart application, AJAX / Building a Simple Application with AJAX and PHP

R

  • random numbers, retrieving / A Framework for Making Repetitive Asynchronous Requests
  • RDBMS / Working with MySQL
  • reading data, remote server / Using a Proxy Server Script
  • readMessages() function, AJAX chat / What just happened?
  • readyState() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • Really Simple Syndication (RSS)
    • document structure / The RSS Document Structure
    • Google Reader / Google Reader
    • RSS reader application / Time for Action—Building the RSS Reader Application
  • realtime charting with AJAX / Implementing a Real-Time Chart with AJAX and SVG
  • realtime SVG charting
    • index.html / Time for Action—Building the Real-Time SVG Chart, What Just Happened?
    • chart.svg / Time for Action—Building the Real-Time SVG Chart, What Just Happened?
    • ajaxrequest.js / Time for Action—Building the Real-Time SVG Chart, What Just Happened?
    • RealTimeChart.js / Time for Action—Building the Real-Time SVG Chart
    • svg_chart.php / Time for Action—Building the Real-Time SVG Chart, What Just Happened?
    • realTimeChart.js / What Just Happened?
  • refreshXYIndexes() function, realTimeChart.js / What Just Happened?
  • Relational Database Management Systems / Working with MySQL
  • remote servers, connecting to / Connecting to Remote Servers and JavaScript Security
    • ping.html / Time for Action—Connecting to Remote Servers
    • ping.js / Time for Action—Connecting to Remote Servers
    • Internet Explorer / Time for Action—Connecting to Remote Servers
    • Firefox / Time for Action—Connecting to Remote Servers
    • Opera / Time for Action—Connecting to Remote Servers
  • remote servers and JavaScript security
    • error_handler.php / Connecting to Remote Servers and JavaScript Security
  • removePointInfo() function, realTimeChart.js / What Just Happened?
  • repetitive asynchronous requests / A Framework for Making Repetitive Asynchronous Requests
  • repetitive tasks implementation
    • smartproxyping.html / Time for Action—Implementing Repetitive Tasks
    • smartproxyping.js / Time for Action—Implementing Repetitive Tasks, What Just Happened?
    • smartproxyping.php / Time for Action—Implementing Repetitive Tasks
    • error_handler.php / Time for Action—Implementing Repetitive Tasks
  • requestNewMessages() function, AJAX chat / What just happened?
  • responseText() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • responseXML() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • retrieveNewMessages() function, AJAX chat / What just happened?
  • RSS Reader application
    • rss_reader.php / Time for Action—Building the RSS Reader Application , What Just Happened?
    • rss_reader.class.php / Time for Action—Building the RSS Reader Application
    • rss_reader.xsl / Time for Action—Building the RSS Reader Application
    • error_handler.php / Time for Action—Building the RSS Reader Application
    • config.php / Time for Action—Building the RSS Reader Application
    • index.php / Time for Action—Building the RSS Reader Application , What Just Happened?
    • rss_reader.js / Time for Action—Building the RSS Reader Application , What Just Happened?
    • rss_reader.css / Time for Action—Building the RSS Reader Application
  • rss_reader.xsl / What Just Happened?

S

  • save() function / What Just Happened?
  • saveXML() function / What Just Happened?
  • script.aculo.us / Building the AJAX Drag-and-Drop Sortable List Application
  • script element, embedding Java code / JavaScript and the Document Object Model
  • security, browsers / Connecting to Remote Servers and JavaScript Security
  • security, FireFox / Connecting to Remote Servers and JavaScript Security
  • security, Internet Explorer / Connecting to Remote Servers and JavaScript Security
  • security, JavaScript / Connecting to Remote Servers and JavaScript Security
  • SELECT command, MySQL / Manipulating Data
  • selectRange() function, AJAX Suggest and Autocomplete / What Just Happened?
  • semicolon separator, MySQL commands / Manipulating Data
  • send() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • sendMessage() function, AJAX chat / What just happened?
  • server-side technologies / HTTP and HTML
  • server requests, initiating / Initiating Server Requests Using XMLHttpRequest
  • server response, asynchronous requests / Handling Server Response
  • servers, remote / Connecting to Remote Servers and JavaScript Security
  • server script, proxy / Using a Proxy Server Script
  • setFocus() function, JavaScript / What Just Happened?
  • setInterval() function / A Framework for Making Repetitive Asynchronous Requests
  • setRequestHeader() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • setSelectionRange() function, AJAX Suggest and Autocomplete / What Just Happened?
  • SetStyle() method / What Just Happened?
  • setTimeout() function / What Just Happened?, A Framework for Making Repetitive Asynchronous Requests
  • simple application, AJAX / Building a Simple Application with AJAX and PHP
  • SimpleXML API / What Just Happened?
  • sortable lists, drag and drop / Sortable Lists
  • standardization, web applications / Delivering Functionality via the Web
  • startup() function, drag and drop application / What Just Happened?
  • Status() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • statusText() method, XMLHttpRequest / Initiating Server Requests Using XMLHttpRequest
  • string variables, JavaScript / What Just Happened?
  • Suggest and Autocomplete, AJAX / Time for Action—;AJAX Suggest and Autocomplete
    • config.php / Time for Action—;AJAX Suggest and Autocomplete
    • error_handler.php / Time for Action—;AJAX Suggest and Autocomplete
    • suggest.php / Time for Action—;AJAX Suggest and Autocomplete, What Just Happened?
    • suggest.class.php / Time for Action—;AJAX Suggest and Autocomplete, What Just Happened?
    • index.html / Time for Action—;AJAX Suggest and Autocomplete, What Just Happened?
    • suggest.css / Time for Action—;AJAX Suggest and Autocomplete
    • suggest.js / Time for Action—;AJAX Suggest and Autocomplete, What Just Happened?
    • error handling / What Just Happened?

T

  • ta-da lists, drag and drop / Sortable Lists
  • task management application
    • config.php / Time for Action—Task Management Application with AJAX
    • error_handler.php / Time for Action—Task Management Application with AJAX
    • script.aculo.us library / Time for Action—Task Management Application with AJAX
    • index.php / Time for Action—Task Management Application with AJAX, What Just Happened?
    • taskslist.class.php / Time for Action—Task Management Application with AJAX, What Just Happened?
    • drag-and-drop.php / Time for Action—Task Management Application with AJAX, What Just Happened?
    • drag-and-drop.js / Time for Action—Task Management Application with AJAX
    • drag-and-drop.css / Time for Action—Task Management Application with AJAX
  • TextRange object, AJAX Suggest and Autocomplete / What Just Happened?
  • thick client / Delivering Functionality via the Web
  • thin client / Delivering Functionality via the Web
  • thread-safe AJAX / Thread-Safe AJAX
  • Time for Action
    • Quickstart AJAX application / Time for Action—Quickstart AJAX
    • JavaScript and DOM / Time for Action—Playing with JavaScript and the DOM
    • JavaScript events and DOM / Time for Action—Using JavaScript Events and the DOM
    • advanced DOM / Time for Action—Even More DOM
    • CSS and JavaScript / Time for Action—Working with CSS and JavaScript
    • asynchronous calls with XMLHttpRequest / Time for Action—Making Asynchronous Calls with XMLHttpRequestasynchronous calls, XMLHttpRequestasynchronous callsXMLHttpRequest
    • asynchronous Calls with XMLHttpRequest / Time for Action—Making Asynchronous Calls with XMLHttpRequest and XML
    • XML structures with PHP / Time for Action—Doing AJAX with PHP
    • PHP parameters and error handling / Time for Action—Passing PHP Parameters and Error Handling
    • connecting to remote servers / Time for Action—Connecting to Remote Servers
    • proxy server script / Time for Action—Using a Proxy Server Script to Access Remote Servers
    • repetitive tasks / Time for Action—Implementing Repetitive Tasks
    • PHP and MySQL / Time for Action—Working with PHP and MySQL
    • connecting to mySQL database / Time for Action—Working with PHP and MySQL
    • complete AJAX application, <?AID 0013?> XE / Time for Action—Building the Friendly Application
    • form validation / Time for Action—AJAX Form Validation
    • chat application with AJAX / Time for Action—Ajax Chat
    • AJAX Suggest and Autocomplete / Time for Action—;AJAX Suggest and Autocomplete
    • realtime SVG chart / Time for Action—Building the Real-Time SVG Chart
    • AJAX Grid / Time for Action—AJAX Grid
    • RSS Reader application / Time for Action—Building the RSS Reader Application
    • task management application / Time for Action—Task Management Application with AJAX
    • AJAX drag and drop / Time for Action—Task Management Application with AJAX
  • TRUNCATE TABLE command, MySQL / Creating Database Tables
  • try/catch construct, JavaScript / Creating the XMLHttpRequest Object
  • try/catch mechanism, error handling / Handling More Errors and Throwing Exceptions, What Just Happened?

U

  • ul element / JavaScript Events and the DOM
  • undo() function / What Just Happened?
  • unobtrusive validation / What Just Happened?
  • updateChart() function, realTimeChart.js / What Just Happened?
  • UPDATE command, MySQL / Manipulating Data
  • updateKeywordValue() function, AJAX Suggest and Autocomplete / What Just Happened?
  • updateRow() function / What Just Happened?
  • updateSuggestions() function, AJAX Suggest and Autocomplete / What Just Happened?

V

  • validate() function, JavaScript / What Just Happened?
  • validation, input data
    • client-side (AJAX) / Implementing AJAX Form Validation
    • message queue / Thread-Safe AJAX
    • server-side (PHP) / What Just Happened?

W

  • web applications
    • advantages / Advantages of Web Applications
  • web client / HTTP and HTML
  • Windows Live Local / Understanding AJAX

X

  • xmlHttp.send() function / Handling Server Response
  • XMLHttpRequest object / Understanding AJAX, Using the XMLHttpRequest Object
    • about / Using the XMLHttpRequest Object
    • creating / Creating the XMLHttpRequest Object
    • initiating server requests / Initiating Server Requests Using XMLHttpRequest
    • methods and properties / Initiating Server Requests Using XMLHttpRequest
    • asynchronous calls / Time for Action—Making Asynchronous Calls with XMLHttpRequestasynchronous calls, XMLHttpRequestasynchronous callsXMLHttpRequest
    • busy object, exceptions / What Just Happened?
  • XML parsing / The RSS Document Structure
  • XML structures
    • about / Working with XML Structures
    • creating / Creating XML Structures
    • using PHP / Time for Action—Doing AJAX with PHP, What Just Happened?
    • SimpleXML API / What Just Happened?
  • XML structures with PHP
    • phptest.html / Time for Action—Doing AJAX with PHP
    • phptest.js / Time for Action—Doing AJAX with PHP
    • phptest.php / Time for Action—Doing AJAX with PHP
  • xmlToArray() function, AJAX Suggest and Autocomplete / What Just Happened?

Y

  • Yahoo Maps / Understanding AJAX

Z

  • zones, IE security / Connecting to Remote Servers and JavaScript Security
lock icon The rest of the chapter is locked
arrow left Previous Section
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