|
Ajax in Action Dave Crane and Eric Pascarello with Darren James October, 2005 | 680 pages ISBN: 1932394613 |
|||
![]() |
$22.50 | PDF ebook | |
![]() |
$44.95 | Softbound print book | |
Index A-M
Symbols
$ method in Prototype library 548
Numerics
200 response, in HTTP 60
302 response, in HTTP 60
A
A9.com, Amazon portal 424
absolute position property, CSS 516
ActionScript, in Flash 28
Adapter pattern 79
addFeeds() of RSSReader object 553
AddHandler() 376
addItem() in RSS feed object 538
Ajax
ajaxUpdate() 346, 356, 463
AjaxWindows.js library 445, 456
alert(), using for data 148
animation, as processing indicator 468
anonymous function, as event handler 457
Apache Axis, framework 170
API
application
architectural patterns 91
architecture
arguments, property 607
Array
asynchronous communication
asynchronous request to server 34
asynchronous requests 19
asynchronous thread, for lengthy interaction 13
Atlas toolkit 169
ATOM syndication feed format 504, 506
attachEvent() IE function 137
attributes property of XML DOM 145
authenticate user and password 432
authentication 277
authorization 277
autocomplete, browser feature
B
Backbase application framework for widgets 113
background color
background processing, techniques for 469
background property 42
backing object 611
banner ad rotator 537
battleship game
behaviors, injecting to a page 353
bind(), in Prototype library 395, 548
bindAsEventListener(), in Protrotype 395
blog 505
bookmarking Ajax pages
box-model 39
branching a library codebase 456
Break Cyclic References design pattern
browser render engine vs JavaScript 133
browsers
BuildError() 523
BuildSettings() 451
BuildXMLResults() 522
business domain, JavaScript model 144
business tier, in architecture 162
C
C#, server-side example 366
cache
callback function 61
Cascading Style Sheets
centering text
change point 456, 463
channel element, in RSS feed 506
childNodes, DOM property 49
circular reference
class, HTML
clean-up functions, for circular references 307
cleanUp() 309
ClickBox widgets 316
client program, definition 5
client side
closure
code-behind page 368
CollectGarbage(), IE function 311
command
command stack 85
Command, design pattern 85, 173
compliant CSS formatting 513
component configurability 399
composite function, event handler 81
composition 601
configurability, per instance 401
configuration parameters, holding 399
consistency, application feature 214
constructor
content-centric interaction 178
ContentLoader
context area display 541
context of functions 307
contract
Cooper, Alan 15
Cornford, Richard 311
coupling
Create If Not Exists, design pattern 310
createElement() 50
createOptions() 356
createPortal() 455
CreateScript(), call back 437
createTextNode() 50
CreateUnderline() 387
CreateWindow() window library method 445
Crockford, Doug 601
cross scripting 248
CSS properties, reading 450
CSS. See Cascading Style Sheets
currentStyle, IE attribute 416
cursor, styling 387
cyclic reference 306
D
data exchange interaction styles 174
database
data-marshaling 463
DBUtil object 452
debugger
degradation path for non-Ajax systems 434
DELETE, HTTP method 60
dereference a variable 303
description element, in RSS feed 509
design pattern
DHTML
dialup modem, accounting for 363
display property
document
DOM Inspector tool
double combo box
drag-and-drop library
Dreamweaver, web development 570
Drip tool 315
DRY
DWR
dynamic query construction 338
E
e.target, non-IE property 379
e.which, non-IE property 379
Echo2 application framewwork 113
Eclipse, IDE 569
Effect object, in Rico 548
element id in DOM, constructing 549
element, HTML, applying styles 37
Emacs, editor 568
encryption
error handling 463, 557
ErrorBuildSettings() 451
eval()
event.keyCode, IE property 379
event.srcElement, IE property 379
EventRouter
extend(), in Prototype 395
external files
F
Façade, design pattern 79
fading transition 512
feed count 512
feed management functions 512
fibonacci(count) 290
file links, testing 446
FillDataTable() 338
FillDropDown() 340
FillTerritory() 333
filter
Firefox browser, Ajax plug-ins for 563
Flex framework 28
float property 41
form, HTML
Forms arguments 58
Foster, Mike 77, 137
frame
frameworks
Function object 604
functions as first-class references 76
functions as objects 591
G
Gamma, Erich 73
garbage-collection 302
GET, HTTP method 59
getComputedStyle(), Mozilla method 416
getElementById() 49
getElementsByTagName() 50, 339
getElementsComputedStyle, Rico utility function 416
getLayer() helper method 555
getPortalWindows() 443
getTransport() 348
gif images, with transparency property 42
global variable
Google Suggest 24, 362
graphical user interface, GUI
H
handleAjaxResponse() 351
handleError() 351, 358, 463, 557
handleMouseUp() 458
handleTextInput(), of textSuggest 411
HEAD, HTTP method 60
helper functions 84
helper method
highlighting
host objects 599
Hypertext Transfer Protocol over Secure Socket Layer (HTTPS) 264
I
iconized message 230
IDE 568
identification field, in type-ahead suggest 365
IFrame
implicit execution context 350
inheritance in JavaScript 597
initializeBehavior() 356
initWindow() 444
injectComponentBehaviors() 354
injecting behavior 399
innerHTML
interface, not explicitly supported in JS 603
Internet Explorer
issuePortalCommand() 459
isValidRequest() 274
item element in RSS model 538
item elements 520
itemClickHandler handler 420
J
JAR files
JavaScript
JavaScript Object Notation 593
JDOM library, parsing XML 204
jEdit, editor 567
Johnston, Paul 276
join method, of String 383
JScript .NET, consumes JSON script 192
JScript .NET, JavaScript interpreter 163
JSON 593
K
key-down event handler 409
keypress, detecting 379
key-up event handler 411
Komodo, IDE 571
L
Laszlo framework 28
layout with CSS 40
layout, reusing 128
layout, using browser engine 133
left and top properties, CSS 450
library
list item, creating 419
list, selecting from 389
listener 138
load settings command 461
LoadNews() 529
loadPage() 455
loadRSSFeed() in RSSReader object 548, 556
localization, date format 221
login
login command 461
login() 429, 432, 455, 461
M
Macromedia Flash 28
MakeMatches() 383, 386
man-in-the-middle attack 263
many-to-many relationships
MD5 algorithm 266
message granularity, client/server 172
message object 223
mobile code
model in MVC 143147
Model-View-Controller
mouseoverHandler handler 420
mouseup event in windows processing 456
MoveFeed(), navigation 532
MoveHighlight() 379, 388
Mozilla browser
multiple attribute of select element 343
multiple elements, in type-ahead suggest 392
multiple event callbacks 138
multiple feeds, loading 510
MVC. See Model-View-Controller
myTimeConsumingFunction() 282
DESCRIPTION
Web users are getting tired of the traditional web experience. They get frustrated losing their scroll position; they get annoyed waiting for refresh; they struggle to reorient themselves on every new page. And the list goes on. With asynchronous JavaScript and XML, known as "Ajax," you can give them a better experience. Once users have experienced an Ajax interface, they hate to go back. Ajax is new way of thinking that can result in a flowing and intuitive interaction with the user.
Ajax in Action helps you implement that thinking--it explains how to distribute the application between the client and the server (hint: use a "nested MVC" design) while retaining the integrity of the system. You will learn how to ensure your app is flexible and maintainable, and how good, structured design can help avoid problems like browser incompatibilities. Along the way it helps you unlearn many old coding habits. Above all, it opens your mind to the many advantages gained by placing much of the processing in the browser. If you are a web developer who has prior experience with web technologies, this book is for you.
"What is Ajax?"
Get a taste of what Ajax is all about by viewing one of our original screencasts.
Choose to watch the entertaining and informative four minute overview or view the more detailed demonstration in our twenty-two minute
screencast. It defines Ajax and builds a working example with rich features you can learn to create for your users.
What's Inside
- Ajax principles
- Why Ajax design patterns matter
- How to avoid Ajax pitfalls
- Examples of Ajax in action: type-ahead suggest, live searching using XSL, and many more.
- Examples using Ajax frameworks: Prototype, Scriptaculous, x and Rico
- Ajax usability, security, and performance
ABOUT THE AUTHORS...
Dave Crane has pushed the boundaries of DHTML, and latterly Ajax, on digital TV set-top boxes, in home automation and banking and financial systems. He lives in Gloucestershire, UK. Eric Pascarello is an ASP.NET developer and a moderator of the HTML and JavaScript forum at JavaRanch. He lives in Laurel, MD. Darren James is the architect of the opensource Rico project. He lives in Sunnyvale, CA.

