Click to See Complete Forum and Search --> : Gmail & AJAX


Abalfazl
September 16th, 2006, 12:39 PM
Hello firend

Thanks for your answer,

I have a question about gmail.

when I recieve new email from AJAX,Without any refresh it shows me I recieve new email and number of add one to number of email in inbox.

I want to know how gmail do that?

Is it by AJAX?
When we use AJAX,User does something ,And after user did an action on interface ,then interface will change,But in this case it shows me without any refresh or without any action on interface,Please know ne if you know any tutorial about this case.

Thanks in advance

mandar-seo
September 18th, 2006, 04:34 AM
I haven't gone into details of Gmail but yes one thing I know is that it auto refreshes to save the draft automatically after some specific time. It would have set flag to check new e-mails the same way. Even I would like to hear the technology from somebody who has worked on Gmail technology........

With regards,
Mandar Thosar

dmeikle
September 19th, 2006, 04:57 PM
you can also start looking at ajax push methods to see how they may have implemented that (*where the server 'pushes' info out to the browser without a client browser request)

Abalfazl
September 21st, 2006, 03:47 AM
Hello firend

I search and ask about " ajax push methods " ,It seems when we use that we cann't close connection,But that can cause problems - sometimes the page won't seem to fully load, and other problems,May you give me more points and reference about that?


GOOD LUCK!

Abalfazl
September 26th, 2006, 02:24 PM
Hello firends


dmeikle said:

"you can also start looking at ajax push methods to see how they may have implemented that (*where the server 'pushes' info out to the browser without a client browser request)"


May you give me simple example how these push method works?

Thanks
GOOD LUCK!

PeejAvery
October 1st, 2006, 06:57 PM
Gmail is just a large mix of AJAX and JavaScript. In fact you can read all the JavaScript source.

If you want to know about the Gmail AJAX, you need to look into AjaXSLT (http://goog-ajaxslt.sourceforge.net/).