Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 27th, 2006, 12:48 PM
Registered User
 
Join Date: Feb 2006
Location: Gainesville, FL, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ladred Send a message via AIM to ladred Send a message via MSN to ladred Send a message via Yahoo to ladred
Default Ajax Web Reference

Expanding on part of Chapter 1 in the book, I thought I'd start a post that listed well designed sites on the Web that make use of this technology. I'll start the list with the ones provided in the book. If you know of any additions, just add a post.

Google Suggest

Google Mail (Gmail)

Google Maps

A9 (Amazon Search)

Yahoo News

Bitflux Blog

Flickr

Writely (A Word Processor)

Instant Domain Search

Netflix Top 100

Answer.com

Magnetic Poetry

Super Maryo World

More Ajax Examples

43things.com
  #2 (permalink)  
Old February 27th, 2006, 06:36 PM
Wrox Technical Editor
 
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Google mail is technically not an example of AJAX.

http://www.flickr.com/
http://www.writely.com/
http://www.a9.com/
http://instantdomainsearch.com/
http://www.netflix.com/Top100/
http://www.answer.com/

- A.Kahtava
  #3 (permalink)  
Old February 27th, 2006, 09:01 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Actually, Gmail *is* an example of Ajax, as are all the others. Ajax is a very broad term, as described in the beginning of the book. Gmail is considered Ajax because it makes use of behind-the-scenes data transfers to provide a seamless user experience.

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
  #4 (permalink)  
Old February 28th, 2006, 07:46 AM
Wrox Technical Editor
 
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nzakas,

I understand your claim that Google Mail uses "behind-the-scenes" data transfer; however that claim alone doesn't mean it's an AJAXian application. Could you provide a better explanation on why specifically Gmail is an example of AJAX?

I just pulled this off of Wikipedia, I know wiki has been wrong in the past...

"Contrary to popular belief, Gmail's interface is not an example of Ajax techniques - instead of XML, data is transferred with chunks of JavaScript code." - http://en.wikipedia.org/wiki/Gmail

This is bugging me, I'd like to get this sorted out.

- A.Kahtava
  #5 (permalink)  
Old February 28th, 2006, 09:50 AM
Registered User
 
Join Date: Feb 2006
Location: Gainesville, FL, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ladred Send a message via AIM to ladred Send a message via MSN to ladred Send a message via Yahoo to ladred
Default

Quoting the actual book, "Gmail, Google's free e-mail service has been raved about as a marvel of client-server interaction in the age of Ajax. When you first log in to Gmail, a user interface engine is loaded into one of the few iframes the application uses. All further requests back to the server occur through this user interface engine through an XMLHttp object."

Although we are just arguing semantics here, I believe that the definition for Ajax is broad enough to include Gmail.

  #6 (permalink)  
Old February 28th, 2006, 10:58 AM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Yes, I think the point A.Kahtava is making is that Gmail doesn't use XML, so it's not Ajax. I'd like to point out (as I did in the book) that XML is *not* a requirement of Ajax. In fact, if you read Jesse James Garrett's article (http://www.adaptivepath.com/publicat...ves/000385.php), he directly mentions Gmail as implementing Ajax.

So again, as stated in the book, the Ajax approach is not tied to one particular method of communication (hidden frames, XMLHttp, etc.) nor one particular data transmission format (XML, plain text, JSON, etc.).

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
  #7 (permalink)  
Old February 28th, 2006, 07:39 PM
Wrox Technical Editor
 
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My last post was more of a question, rather than a point.
The question being: What makes GMail an AJAX app? Why does Wikipedia explicitly state that GMail is not an AJAX app?

Wikipedia is probably wrong; the definition of AJAX continually changes and expands.
I think the misconception probably originated from the division of iFrames and AJAX. AJAX and iFrames were perceived as two separate ways of doing the same thing, but have since become complimentary technologies.

Thanks for the discussion Nzakas.

- A.Kahtava
  #8 (permalink)  
Old February 28th, 2006, 09:12 PM
nzakas's Avatar
Wrox Author
 
Join Date: Dec 2004
Location: Peabody, MA, USA.
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Yes, you also have to realize that Wikipedia is written entirely by volunteers and not everything that is posted is factually true. Literally anyone can submit the information and it just shows up until someone else changes it or removes it. Generally, it's dangerous to rely solely on Wikipedia definitions.

Nicholas C. Zakas
Author, Professional JavaScript for Web Developers (ISBN 0764579088)
http://www.nczonline.net/
  #9 (permalink)  
Old February 28th, 2006, 09:59 PM
Wrox Technical Editor
 
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes; that's obvious. Wikipediea clearly states that it is "the free encyclopedia that anyone can edit."

I agree; it is dangerous to rely solely on a single source whether it be Wikipedia, a programming reference book, work of mouth, etc...

We must continually critically analyze what we read and hear. Similarly; every rumor has (or had) a small grain of truth. So if Wikipedia states that "contrary to popular belief, Gmail's interface is not an example of Ajax". I should consider that there could have been some grain of truth that lead to the entry.
Perhaps the general definition of AJAX expanded, perhaps this is an outdated entry, perhaps someone made a mistake, or perhaps it's a practical joke.

Generally, it’s better to critically analyze and think things through.
It is dangerous to rely solely on one source.

- A.Kahtava
  #10 (permalink)  
Old March 1st, 2006, 09:10 AM
Registered User
 
Join Date: Feb 2006
Location: Gainesville, FL, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to ladred Send a message via AIM to ladred Send a message via MSN to ladred Send a message via Yahoo to ladred
Default

Any chance we can get back in the direction of the first post? This isn't the place to discuss the broad definition of AJAX, the morality of wikipedia, or your opinion in any way shape or form. If you would like to discuss those things, feel free to start your own thread. This thread was intended to give people more references to visit for AJAX examples. Whether or not you think its a good example isn't the purpose of this thread. Thanks.

~Lad





Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Services with AJAX hari.gomatum Ajax 1 October 10th, 2007 09:53 AM
Error to Add Web Reference from a Web service jdjbarrios ASP.NET 2.0 Professional 0 July 18th, 2006 02:58 PM
Web Service Reference Issue eshyong .NET Web Services 1 November 2nd, 2003 12:11 AM
Error While Adding Web Reference geeta .NET Web Services 2 July 19th, 2003 11:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.