Ajax Hacks
Tips & Tools for Creating Responsive Web Sites
Publisher: O'Reilly Media
Final Release Date: March 2006
Pages: 448

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.

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyAjax Hacks
 
3.0

(based on 8 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (2)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (1)

Reviewed by 8 customers

Sort by

Displaying reviews 1-8

Back to top

 
1.0

This book is garbage

By disgusted by this book

from sf

About Me Developer

Verified Reviewer

Pros

    Cons

    • Too many errors

    Best Uses

      Comments about oreilly Ajax Hacks:

      If you want to waste your time trying to follow half baked examples,then this book is for you.

      If they seriously expected anyone to try any of the useless non working "hacks" out ,they would have included the source code with the book or online. These are not stand alone examples that you can try out. If you don't believe me, try typing up one of the hacks and deploying it to a web server .

      I regret having to give it even 1 star.

      (3 of 3 customers found this review helpful)

       
      4.0

      Good job although a little bit careless

      By Kodulis

      from Undisclosed

      Comments about oreilly Ajax Hacks:

      Some hacks worked on Bruce computer but not on ours.

      The major problem were the Servlets. We have to build them ourselves.

      I tried to resolve some hacks, look at

      Hack4 resolved (http://users.sch.gr/kodulis/hack4.html)

      I still love this book because it introduce me in Ajax world in a simple step by step manner.

       
      3.0

      good theory but lacks real life cross-domain hacks

      By wrd01

      from Undisclosed

      Comments about oreilly Ajax Hacks:

      would be an excellent book but lacks real life code or scenario. In the post 9/11 era no one is willing to share their resource within the organization and its a real problem for JS to go across domains while Firefox complains all the time permission denied to user browser resource.

      Good theory...

      (1 of 1 customers found this review helpful)

       
      2.0

      Need Help from Author

      By Anonymous

      from Undisclosed

      Comments about oreilly Ajax Hacks:

      "Secondly, there is no where to go for help with the examples that are not running as expected. It will be great if we got all the examples running in the parkerriver website."

      Think twice before you are TOO HAPPY when you see this book

      I think the direction is CORRECT, giving us lots of HACKS (those just mean AJAX techniques)

      but unlike other book --

      CAN THEY JUST MAKE THOSE PROGRAM WORK esp with HTTPrequest to the server

      the DEMO sample run GREAT, then we try it on our own PC server, then it WOULD NOT work 100%

      e.g. chapter 3 first example

      I could not pass my given email address for validation to the server in the PARKERRIVER.com web site, i.e. 90% of the program run as the demo, but the last bit is the hurdle

      I got this message -- that is from HTTP_request.js

      "The application cannot contact "+

      "the server at the moment. "+

      "Please try again in a few seconds.\n"+

      "Error detail: "+errv.message);

      }

      and I C O U L D N O T figure out why it gives this message when I run it myself

      hope that the author will participate in SOME FORUM and discuss his examples

      if you know a forum -- please register here and tell us !! the URL

      3xxx

       
      4.0

      Need Help from Author

      By pannet1

      from Undisclosed

      Comments about oreilly Ajax Hacks:

      I would say the book is of excellent help. Since it involves lot of technologies there would be certain areas which might not be of interest to all.

      Firstly, I am little bit dissappointed with the Java and Ruby Server side code which have just filled pages. It would have been great if we had more ajax hacks instead of them. Different editions with respect to specific server side scripts may help Oreilly to sell more books with slight modifications.

      Secondly, there is no where to go for help with the examples that are not running as expected. It will be great if we got all the examples running in the parkerriver website.

      Thirdly, in general there is nowhere to ask questions regarding the book. The email id provided in the book, bookquestions at oreilly dot com, is returning my mail saying its spam. I have tried to send the mail with two different ids. I place to ask for help (forum, blog, etc) will be very useful.

      Hope this helps.

      (0 of 1 customers found this review helpful)

       
      2.0

      Nice Hacks - Where's the Server Side?

      By Charlene

      from Undisclosed

      Comments about oreilly Ajax Hacks:

      I have been reading this book and find it fairly informative on Ajax, but useless. Unless I want to spend hours figuring out how to do the server side of the hack I can't use any of the ones I've read so far - I've just finished 17. Hack #7 shows how to create the JSON response on the server in a Java servlet, but that is only mildly useful.

      I can see that it would be a little bit more work and a larger book to include the server side programs. And then having to decide which language to use...

      I would suggest a companion series of books for the server side programming - one for each language - ASP, PHP, Perl, Java, Ruby, etc. And after the PHP one is out then I'll consider finishing Ajax Hacks.

       
      3.0

      Good but lacking something fundamental

      By Mark

      from Undisclosed

      Comments about oreilly Ajax Hacks:

      I find this book very good with the useful hacks but this book never discuss the server side of these hacks. The example code in the book just points to a website to retrieve information for the AJAX hacks but there is no discussion of how to build the server side components. For novices, that is very important information to know and to learn from.

      (0 of 1 customers found this review helpful)

       
      5.0

      Review of Ajax Hacks""

      By Val

      from Undisclosed

      Comments about oreilly Ajax Hacks:

      If you believe in a better, faster and friendlier web, you have certainly jumped onto the Ajax bandwagon or at least considered doing it at some point. For over a year now, web evangelists have published countless articles, tutorials and books about Ajax (and by-products thereof). You have certainly bookmarked a host of websites and pages talking about this new approach to developing web applications. You also have probably piled up an ever growing stack of various items, such as frameworks, scripts, patterns, effects, that you have yet to check out and try. Given the rate at which new Ajax libraries and frameworks are born and the pace at which they mature, you find yourself wondering where to start your quest, if at all.

      "Ajax Hacks" by Bruce Perry can considerably help you lift the weight off your shoulders. By means of not less than eighty hacks, Perry shows you well-chosen points of interest in the Ajax landscape whose purpose is to help you create your own unique path to the Ajax heaven. The book first shows you the basics of Ajax interactions. Then, it explains how to play around with web forms and validate user input efficiently. After demonstrating how to get advantage from using the Google and Yahoo Maps APIs, it introduces a couple frameworks and libraries, such as Rico, Prototype, script.aculo.us and DWR and explains how to take advantage of the features they provide in an efficient way. A couple hacks also detail how to handle the browser history, how to use bookmarklets, how to build client-side caches and storage system. The author also introduces the Ajax support provided by the Ruby on Rails framework, and finishes the book with a dozen hacks showing advanced uses of Ajax, such as using RSH, fixing the back button, calling web services from JavaScript, creating an autocomplete text field and much more...

      Whether a novice or an expert, if you consider adopting Ajax or if you are willing to consolidate your current Ajax knowledge with new tricks, "Ajax Hacks" is definitely a book for you. Easy to read and comprehend, simple to browse, accessible to anyone... a must have!!

      More book reviews and article are available here (http://radio.javaranch.com/val)

      Displaying reviews 1-8

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook: $23.99
      Formats:  DAISY, ePub, Mobi, PDF
      Print & Ebook: $32.99
      This item is not available.
      Print: $29.99
      The shipment of this item may be delayed.