Amazon.com: Pragmatic Ajax: A Web 2.0 Primer (9780976694083): Justin Gehtland, Ben Galbraith, Dion Almaer: Books

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$3.99 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Pragmatic Ajax: A Web 2.0 Primer
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Pragmatic Ajax: A Web 2.0 Primer [Paperback]

Justin Gehtland (Author), Ben Galbraith (Author), Dion Almaer (Author)
4.4 out of 5 stars  See all reviews (14 customer reviews)

List Price: $29.95
Price: $20.06 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $9.89 (33%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 3 left in stock--order soon (more on the way).
Want it delivered Tuesday, February 28? Choose One-Day Shipping at checkout. Details

Book Description

April 17, 2006 Pragmatic

It's not just another book on Ajax. It's Pragmatic Ajax: a concise, complete look at a new way of envisioning and implementing browser-based applications.

Ajax turns static web pages into interactive applications. Now you can deploy rich-client applications to clients without sacrificing the easy deployment of web applications. But to many folks, Ajax seems difficult. That's why we produced this book. As a Pragmatic guide, it strips away the mystery and shows you the easy way to make Ajax work for you.

We cover the the basics of DHTML, JavaScript, and the infamous XmlHttpRequest call. You'll see how to add Ajax to existing programs, and design new applications to exploit the power of Web 2.0. Learn the three layers of Ajax framework, and when (and how) to use each. See how to create rich clients, use visual effects, add client-side validation, and handle forms. Write applications that degrade gracefully if clients don't support JavaScript. And see how to integrate your Ajaxified clients into Java, .NET, and Ruby on Rails server frameworks.

With Pragmatic Ajax, you'll:

  • Understand the breadth of the Ajax/Web 2.0 landscape, and go-indepth on how Ajax works
  • Learn how JavaScript works with your server-side framework
  • See how to easily apply Ajax techniques to an existing application--and when not to
  • Know what's coming by looking at new features and frameworks currently in active development.

Writing dynamic applications isn't that hard. Folks are awed by Google Maps, but it isn't rocket science (apart from the satellite pictures). As a special bonus, see how to implement your own Google Maps-like application using DHTML.


Frequently Bought Together

Pragmatic Ajax: A Web 2.0 Primer + Ajax in Action + Professional Ajax, 2nd Edition (Programmer to Programmer)
Price For All Three: $76.32

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Ajax in Action $29.67

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Professional Ajax, 2nd Edition (Programmer to Programmer) $26.59

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Justin Gehtland is a partner and co-founder of Relevance, a training and consulting com-pany located in the Research Triangle, North Carolina. He has been an application de-veloper since 1990, and a web application developer since 1995. His technology back-ground includes all the usual suspects. He is currently focused on lightweight develop-ment using Ruby, .NET and Java.

Ben Galbraith is a frequent technical speaker, occasional consultant, and author of several technology books. He is a co-founder of Ajaxian.com, was recently Chief Technical Of-ficer for Amirsys, and is presently a consultant specializing in enterprise architecture and Swing/Ajax development. Ben presides over the Utah Java User's Group, is active in the Java Community Process, and tinkers on various open-source projects from time to time. He has delivered over one hundred technical presentations in 2005 at venues including JavaOne, TheServerSide.com Java Symposium, and the No Fluff Just Stuff Java Sympo-siums.

Dion Almaer is the other founder of Ajaxian.com, the leading source of the Ajax community. Dion has been writing rich web applications from the beginning, and is a columnist on Enterprise Java topics at openxource.com, onjava.com, TheServerSide.com, and of course his blog at almaer.com/blog. He enjoys writing, and speaking at events such as JavaOne, JavaPolis, TheServerSide Symposium, and the No Fluff Just Stuff symposium tour. He also participates on the Java Community Process expert groups, and the open source community as a whole.


Product Details

  • Paperback: 304 pages
  • Publisher: Pragmatic Bookshelf; 1 edition (April 17, 2006)
  • Language: English
  • ISBN-10: 0976694085
  • ISBN-13: 978-0976694083
  • Product Dimensions: 9 x 7.6 x 0.9 inches
  • Shipping Weight: 1.5 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Best Sellers Rank: #586,329 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

14 Reviews
5 star:
 (8)
4 star:
 (4)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.4 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

31 of 31 people found the following review helpful:
4.0 out of 5 stars Great Primer for AJAX and Web 2.0, May 22, 2006
By 
Andrew Violette "A Customer" (Hoffman Estates, IL United States) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: Pragmatic Ajax: A Web 2.0 Primer (Paperback)
The only way to really learn Ajax (and the wider "Web 2.0") is write the code yourself, read sites like ajaxian.com, and understand Javascript. The writers behind this book know this because they have not infused a lot of overly complicated examples (as in "Ajax in Action"), but have instead given a wide survey of how Web 2.0 technologies work.

The book starts out with a very readable overview of Ajax and follows that up with the best chapter in the book: a fascinating deconstruction of Google Maps. In subsequent chapters, they dive deeper into the XMLHTTPRequest and the mechanics of making asynchronous calls with Javascript. Since most people don't roll their own anymore, they cover client-side frameworks like prototype/scriptaculous and dojo. They cover server-side frameworks like DWR (Java), Rails (Ruby), and Sajax (PHP). They also cover alternate payload formats such as JSON.

One thing to note here: AJAX used to refer to "Asynchronous Javascript and XML", but now that the suits have caught on to the term, it has become synonymous with richer web applications. Therefore, I think for the broader audience, AJAX === Web 2.0. Even this book blurs the distinction. For example, they cover some of scriptaculous' effects, which have nothing to do with Ajax.

I did not find the chapter on debugging to be too great. For example, no mention of GreaseMonkey is made in the debugging section. I use this all the time to debug and inject stuff into my scripts.

None of the chapters in this book is what I'd call comprehensive. It is a primer. The authors of this book have written a very concise, well-written introduction to the world of web 2.0.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


34 of 36 people found the following review helpful:
4.0 out of 5 stars Good read, up to date, May 24, 2006
Amazon Verified Purchase(What's this?)
This review is from: Pragmatic Ajax: A Web 2.0 Primer (Paperback)
This is the second Pragmatic Programmers book I've read to have been published as a "beta book." That means that early versions of the text and code were reviewed by lots of readers, and their feedback incorporated into the final version. It shows: this is a very current book which addresses most of the pressing issues around Ajax design and development in language-agnostic ways. There's a chapter that covers some of the current code libraries (like Dojo and Prototype) without playing favorites. The writers write reasonably well. There are some *very* clunky sentences and paragraphs, especially in the last chapter, which feels pretty rushed. And strange continuity mistakes show up in several places, such as references to upcoming material that was actually covered several chapters back. The two consecutive chapters titled "Ajax UI part I" and "Ajax UI part II" feel poorly organized. It's usually a sign an author can't quite figure out how to group material when you get chapters with such vague titles.

It is very much a "primer" like the title says: it's an overview and introduction, not a complete guide to all the complexities of Ajax development (see the book "Ajax in Action" for that). It helpfully covers debugging techniques and degradable design. The Ajax support of server-side web frameworks are compared briefly. The good thing is that it's one of those tech books that you can get a lot out of by reading; you don't need to type in a lot of code to understand these concepts. Just don't expect this to be the only book on your Ajax shelf.

The only section that's really out of place is, oddly, the first chapter. In it, the authors build a lightweight version of Google Maps, the application they rightly point to as generating a lot of initial interest in Ajax. But what they actually build is a very superficial version of Google Maps: theirs has no server-side component other than a set of images in a directory, and much of the time is spent handling the Javascript to allow the user to drag-scroll the map.

It's cute, but that's not sufficient to serve as an example of Ajax. Their map application does not present data from a database, does not use any asynchronous behavior, and does not use the XMLHttpRequest object (or other remoting approach). Even by the authors' own definition of "Ajax" later in the book, this map project ain't it. On its own merits as a DHTML project it's not bad, but it's really out of place. (In fact, the table of contents listed on the publisher's own site suggests it used to be chapter four.) Following it, a short chapter on the basics of Javascript DOM manipulation is also useful, but probably not worth putting at the front of the book (it's also misleadingly titled "Ajax Explained"). If these two chapters were presented as a "DHTML case study Appendix", they'd be just as useful, but less distracting.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


14 of 16 people found the following review helpful:
5.0 out of 5 stars This book demystifies the Ajax revolution. Highly recommended., April 27, 2006
By 
Jim Anderton (Portland, OR USA) - See all my reviews
(REAL NAME)   
This review is from: Pragmatic Ajax: A Web 2.0 Primer (Paperback)
This book is so much more than a technical reference for Ajaxian techniques. It will help you understand how the whole Ajax revolution came about, and where it's going. After providing a foundation of Ajax background, the authors quickly jump in to the mother of all Ajax applications: Google Maps. Not only do they describe what made Google Maps so important, they discuss in detail how the UI side can be implemented. And the most exciting thing? After reading it, you'll feel like you could go out and create that kind of UI. It's very empowering!

After the initial excitement of understanding the techniques used in Google Maps, the authors show you a very simple customer entry form and walk you through the process of implementing an Ajax lookup to populate city and state based on zipcode. Then, after teaching the reader how to write the Ajax code from scratch, they discussed Ajax frameworks and walked the reader through implementing the same functionality using the Dojo framework. I thought this progression was very effective. It really showed off the value of learning these frameworks rather than handcoding everything.

There was plenty of great discussions of UI possibilities, validation techniques, and other things Ajax can help us with. Not only did the Authors do a great job of teaching the reader what to do, they also invested significant time helping the reader avoid common pitfalls.

The book covers so much more: debugging, graceful degradation. JSON, server-side frameworks and Ajax with various server platforms. It finishes with a nice discussion of the future of Ajax. I plan to re-read this book and share it with my colleagues. The authors really did a great job putting this book together. Not only is this a valuable reference, it's also a great cover-to-cover read.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(18)
(3)
(1)
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject