Free Excerpt: Nicholas Zakas on YUI Connection Manager, from Professional Ajax 2nd Edition

By YUI TeamMarch 2nd, 2007

Yahoo!’s Nicholas Zakas is the author of two excellent books from WROX Press. His fist book, Professional JavaScript for Web Developers, is a volume we rely on at Yahoo! for internal training classes on JavaScript. Nicholas’s second book with WROX is Professional Ajax, the 2nd Edition of which has just been released.

In this new edition, Nicholas spends part of Chapter 4 exploring the YUI Connection Manager. He dives into its usage and steps through the implementation of asynchronous XMLHttp requests including the passing of arguments, form handling, callbacks, scope, timeouts and more. This chapter also includes a look at Connection Manager’s file upload feature. With his cogent style and clear examples, Nicholas provides a wonderful introduction to the Connection Manager and how to use it as the basis of your ajax-driven workflow.

We asked Wrox Sr. Acquisitions Editor Jim Minatel, Nicholas’s editor, if we could share a PDF version of this content on YUIBlog, and he graciously agreed. Thanks to Jim (and to Nicholas) for letting us make this available:


  1. I must say that this is my favorite book that I’ve picked up on developing with Ajax. The first chapters laid out both the theory and the common applications of this technology across all the greatest web applications.

    I don’t mind downloading the new chapter, but I may just go and buy the new version!


  2. Thanks for the kind words, Doug. I’ve said it on my blog, but I’m very proud of the new content in this book, and I hope there will be many readers of the first edition who agree!

  3. Regarding Nicholas Zakas’ “fist book”, noted in the second sentence: you might want to fix that typo. ;)

  4. [...] Ich hab mir da mal was gekauft…, für die Stunden nach der Arbeit. Nach dem Blogeintrag des YUI-Blogs, muss ich sagen, dass mir das Buch wohl gefallen wird. Ist aber in Englisch, also nichts für Anfänger. [...]