 |
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
|
|
|

February 27th, 2006, 06:36 PM
|
Wrox Technical Editor
|
|
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|

February 27th, 2006, 09:01 PM
|
 |
Wrox Author
|
|
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
|
|
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/
|

February 28th, 2006, 07:46 AM
|
Wrox Technical Editor
|
|
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

February 28th, 2006, 09:50 AM
|
Registered User
|
|
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

February 28th, 2006, 10:58 AM
|
 |
Wrox Author
|
|
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
|
|
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/
|

February 28th, 2006, 07:39 PM
|
Wrox Technical Editor
|
|
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

February 28th, 2006, 09:12 PM
|
 |
Wrox Author
|
|
Join Date: Dec 2004
Posts: 217
Thanks: 0
Thanked 5 Times in 5 Posts
|
|
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/
|

February 28th, 2006, 09:59 PM
|
Wrox Technical Editor
|
|
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

March 1st, 2006, 09:10 AM
|
Registered User
|
|
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|
 |