27.10.2015 Views

AJAX and PHP

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

exception h<strong>and</strong>ling, JavaScript, 43 Google Reader, 224<br />

exceptions, throwing, 59 Google Suggest, 15, 166<br />

Extensible Stylesheet Language (XSL), 203<br />

grid. See data grid<br />

Extensible Stylesheet Language<br />

Transformation (XSLT), 203<br />

F h<strong>and</strong>leCheckingAvailability() function, 98<br />

h<strong>and</strong>leGettingColor() function, <strong>AJAX</strong> chat, 161<br />

fetch_array() method, MySQL, 109 h<strong>and</strong>leGettingNumber() function, 99<br />

FIFO structure, message queue, 125<br />

h<strong>and</strong>leGettingResults() method,<br />

file_get_contents() function, 85, 90, 99<br />

ajaxRequest.js, 201<br />

Firefox JavaScript console, error h<strong>and</strong>ling, 60 h<strong>and</strong>leGettingSuggestions() function, <strong>AJAX</strong><br />

form validation, 121<br />

Suggest <strong>and</strong> Autocomplete, 185<br />

form validation with <strong>AJAX</strong> h<strong>and</strong>leKey() function, <strong>AJAX</strong> chat, 162<br />

allok.php, 130<br />

h<strong>and</strong>leKeyUp() function, <strong>AJAX</strong> Suggest <strong>and</strong><br />

config.php, 133<br />

Autocomplete, 186<br />

create table, 126<br />

h<strong>and</strong>leOnMouseOut() function, <strong>AJAX</strong> Suggest<br />

error_h<strong>and</strong>ler.php, 133<br />

<strong>and</strong> Autocomplete, 185<br />

index.php, 128, 139<br />

h<strong>and</strong>leOnMouseOver() function, <strong>AJAX</strong><br />

index_top.php, 127, 139<br />

Suggest <strong>and</strong> Autocomplete, 185<br />

populate table, 126<br />

h<strong>and</strong>leReceivingMessages() function, <strong>AJAX</strong><br />

validate.class.php, 134, 143<br />

chat, 162<br />

validate.css, 126 h<strong>and</strong>leRequestStateChange() function, 54<br />

validate.js, 131, 140 h<strong>and</strong>leRequestStateChange()method, 49<br />

validate.php, 134 h<strong>and</strong>leResults() function, realTimeChart.js, 202<br />

framework, repetitive asynchronous requests, 91 h<strong>and</strong>leServerResponse() function, books.js, 58<br />

Friendly <strong>AJAX</strong> application<br />

h<strong>and</strong>leServerResponse() function,<br />

about, 109<br />

quickstart.js, 25, 27<br />

config.php, 111, 117<br />

hideSuggestions() function, <strong>AJAX</strong> Suggest <strong>and</strong>,<br />

error_h<strong>and</strong>ler.php, 111, 117<br />

friendly.class.php, 111, 116, 119 HTML, 10<br />

friendly.css, 110, 113 HTTP, 10<br />

friendly.js, 110, 113, 118 HTTPS, 11<br />

friendly.php, 111, 115, 118 HyperText Markup Language, 10<br />

index.html, 110, 112<br />

G<br />

I<br />

imagecreatefrompng() function, <strong>AJAX</strong> chat, 163<br />

GD library, 147 indexes, MySQL, 102<br />

getAllResponseHeaders() method,<br />

XMLHttpRequest, 47<br />

init() function, <strong>AJAX</strong> chat, 162<br />

init() function, realTimeChart.js, 201<br />

getColor() function , <strong>AJAX</strong> chat, 161 innerHTML property, DOM, 36<br />

getFormattedXML() function, 235 input data validation, 121<br />

getMouseXY() function, <strong>AJAX</strong> chat, 161 INSERT comm<strong>and</strong>, MySQL, 104<br />

getResponseHeader() method,<br />

installation, Unix<br />

XMLHttpRequest, 47<br />

Apache, 261<br />

getSuggestions() function, <strong>AJAX</strong> Suggest <strong>and</strong><br />

MySQL, 261<br />

Autocomplete, 185 <strong>PHP</strong>, 262<br />

GMail, 15 installation, Windows, 256<br />

GNU Emacs editor, 165<br />

Apache, 256<br />

Google Maps, 15<br />

H<br />

185<br />

269<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!