Ajax Hacks: Tips & Tools for Creating Responsive Web Sites

Portada
"O'Reilly Media, Inc.", 2006 M03 21 - 440 páginas

Ajax, the popular term for Asynchronous JavaScript and XML, is one of the most important combinations of technologies for web developers to know these days. With its rich grouping of technologies, Ajax developers can create interactive web applications with XML-based web services, using JavaScript in the browser to process the web server response.

Taking complete advantage of Ajax, however, requires something more than your typical "how-to" book. What it calls for is Ajax Hacks from O'Reilly. This valuable guide provides direct, hands-on solutions that take the mystery out of Ajax's many capabilities. Each hack represents a clever way to accomplish a specific task, saving you countless hours of searching for the right answer.

A smart collection of 80 insider tips and tricks, Ajax Hacks covers all of the technology's finer points. Want to build next-generation web applications today? This book can show you how. Among the multitude of topics addressed, it shows you techniques for:

  • Using Ajax with Google Maps and Yahoo Maps
  • Displaying Weather.com data
  • Scraping stock quotes
  • Fetching postal codes
  • Building web forms with auto-complete functionality

Ajax Hacks also features a number of advanced hacks for accelerated web developers. Discover how to create huge, maintainable bookmarklets, how to use client-side storage for Ajax applications, and how to call a built-in Java object from JavaScript using Ajax. The book even addresses best practices for testing Ajax applications and improving maintenance, performance, and reliability for JavaScript code.

The latest in O"Reilly's celebrated Hacks series, Ajax Hacks smartly complements other O'Reilly titles such as Head Rush Ajax and JavaScript: The Definitive Guide.

Dentro del libro

Páginas seleccionadas

Contenido

Ajax Basics
1
Web Forms
58
Validation
126
Power Hacks for Web Developers
158
Direct Web Remoting DWR for Java Jocks
234
Hack Ajax with the Prototype and Rico Libraries
260
Work with Ajax and Ruby on Rails
285
Savor the scriptaculous JavaScript Library
317
Options and Efficiencies
334
Index
405
Derechos de autor

Otras ediciones - Ver todas

Términos y frases comunes

Pasajes populares

Página 331 - These are the times that try men's souls. The summer soldier and the sunshine patriot will, in this crisis, shrink from the service of their country; but he that stands it now, deserves the love and thanks of man and woman.
Página 399 - Outside of a dog, a book is man's best friend, Inside of a dog, it's too dark to read.
Página 171 - -//W3C//DTD XHTML 1.0 Strict//EN" "http : //www . w3 . org/TR/xhtmll/DTD/xhtmll - strict . dtd
Página 230 - Firefox extension that allows you to write scripts that alter the web pages you visit-- allows you to alter site appearance, fix bugs, or even combine data from different web sites to meet your own needs. Some people are content to receive information from websites passively; some people want to control it. For those who prefer to customize and control their content, Greasemonkey Hacks provides the expertise you need to take command of any web page you view. Mac OS X...
Página 119 - ... var val; var opts = _sel. options; for (var i = 0; i < opts. length; i++){ if (opts[i]. selected) { val=opts[i] .value; break;} } sportTyp=val; //only restore the lists if the bullets have //already been expanded if (itemsArray[sportTyp].
Página 50 - O.Sem; } div { max-width: 80% } .plain { border: thin solid black; padding: 10%; font: Arial, serif font-size: 0.9em; background-color: yellow; } .fancy { border: thin solid black; padding: 5%; font-family: Herculanum, Verdana, serif; font-size...
Página 57 - HACK #11 <body onLoad="document. forms [0] .url.value=urlFragment;setSpan( )"> <h3>Find out the HTTP response headers when you "GET" a Web page</h3> <h4>Choose the style for your message</h4> <form action...
Página 74 - List</h3> <form action="javascript:void%200" > <table border="0"> <trxtd>Choose one or more states: </tdxtd> <select name="_state" multiple="multiple" size="4"> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option>...
Página 111 - ... if (obj == null ) { return; } var url = ""; var optsArray - obj. options; var val = ""; for(var i=0; i < optsArray. length; i++){ if (optsArray [i].

Información bibliográfica