Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Gmail & AJAX

Gmail & AJAX

Scheduled Pinned Locked Moved Web Development
sysadmintutorialquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    abalfazl
    wrote on last edited by
    #1

    Hello firends 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 me if you know any tutorial about this case.Do you AJAX code for that? I heard that Gmail uses a hidden iframe for its Ajax calls. Regardless, you can easily do auto-updating without any user interaction by setting a repeating callback (with setTimeout or similar) which polls the server for updates every X seconds. May someone give me code for these idea?(use settimeout and use Iframe) Thanks in advance

    C 1 Reply Last reply
    0
    • A abalfazl

      Hello firends 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 me if you know any tutorial about this case.Do you AJAX code for that? I heard that Gmail uses a hidden iframe for its Ajax calls. Regardless, you can easily do auto-updating without any user interaction by setting a repeating callback (with setTimeout or similar) which polls the server for updates every X seconds. May someone give me code for these idea?(use settimeout and use Iframe) Thanks in advance

      C Offline
      C Offline
      CWIZO
      wrote on last edited by
      #2

      Yes that is AJAX. Just google for some tutorials. There are plenty.

      -------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

      A 1 Reply Last reply
      0
      • C CWIZO

        Yes that is AJAX. Just google for some tutorials. There are plenty.

        -------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

        A Offline
        A Offline
        abalfazl
        wrote on last edited by
        #3

        Hello my firend How? How Gmail use AJAX to do something like that,I know something about AJAX,But I want to know How GMAIL use that? I saw something about google suggestion ,But I want to know about Gmail.Do you know any tutorial that shows how gmail does that? GOOD LUCK! -- modified at 0:44 Monday 18th September, 2006

        C 1 Reply Last reply
        0
        • A abalfazl

          Hello my firend How? How Gmail use AJAX to do something like that,I know something about AJAX,But I want to know How GMAIL use that? I saw something about google suggestion ,But I want to know about Gmail.Do you know any tutorial that shows how gmail does that? GOOD LUCK! -- modified at 0:44 Monday 18th September, 2006

          C Offline
          C Offline
          CWIZO
          wrote on last edited by
          #4

          Nope (that dosen't mean there is none) But if you will study AJAX enough you will figure that out by yourself.

          -------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

          A 1 Reply Last reply
          0
          • C CWIZO

            Nope (that dosen't mean there is none) But if you will study AJAX enough you will figure that out by yourself.

            -------------------------------------------------------- My portfolio & development blog Q:What does the derived class in C# tell to it's parent? A:All your base are belong to us!

            A Offline
            A Offline
            abalfazl
            wrote on last edited by
            #5

            Hello Could you show me the AJAX code that Gmail use? Thanks, GOOD LUCK!

            _ 1 Reply Last reply
            0
            • A abalfazl

              Hello Could you show me the AJAX code that Gmail use? Thanks, GOOD LUCK!

              _ Offline
              _ Offline
              _AK_
              wrote on last edited by
              #6

              abalfazl wrote:

              Could you show me the AJAX code that Gmail use?

              :doh: dude!! how can anybody give you some code which gmail is using. You can ask for some ajax sample code but not the gmail code isn't it? :)

              Best Regards, Apurva Kaushal

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups