Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Why AJAX is fast ????  (Read 4310 times)

0 Members and 1 Guest are viewing this topic.

dmjpro

  • Guest
Why AJAX is fast ????
« on: March 19, 2007, 11:43:48 PM »
i think u know AJAX .......

let me clear a typical thing ..... that why AJAX is fast????
does AJAX use any other communication channel as contrast to the normal request does... or the same communication channel ????

i think u got my point what i mean.....

plz clearify me ...... thanxxxx
« Last Edit: March 19, 2007, 11:44:36 PM by dmjpro »

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Why AJAX is fast ????
« Reply #1 on: March 20, 2007, 11:08:05 AM »
Ajax is no faster than any other HTTP transactions.  It simply appears faster because it avoids the need to reload an entire page - you simply load in the particular data you need, and leave the rest of the web page intact.  (That's typically how Ajax is used.)
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

dmjpro

  • Guest
Re: Why AJAX is fast ????
« Reply #2 on: March 21, 2007, 07:13:02 AM »
ok kkkkkk i also knew that ... but i just waiting for an expert

thanxxxxx

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Why AJAX is fast ????
« Reply #3 on: March 21, 2007, 03:52:43 PM »
Ajax does have the advantage of being able to pass any kind of XML (or text) data you like, so with a bit of cunning I suppose you could compress your data and make transmission swifter...
« Last Edit: March 21, 2007, 03:57:01 PM by robpomeroy »
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

dmjpro

  • Guest
Re: Why AJAX is fast ????
« Reply #4 on: March 22, 2007, 12:14:47 AM »
okk wait ... i don't understand u... how can we send XML data or text data from browser

i know how to get the XML or text resonse .... plz help

thanxxxx in advance

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Why AJAX is fast ????
« Reply #5 on: March 22, 2007, 07:16:58 AM »
The whole thing is XML at both ends by definition.  You might find >this< illuminating.
« Last Edit: March 22, 2007, 07:17:33 AM by robpomeroy »
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

dmjpro

  • Guest
Re: Why AJAX is fast ????
« Reply #6 on: March 22, 2007, 07:34:21 AM »
okkk i ll check it out .... one more Q.

how can i send form data using POST method .... plz help

i sent u a private msg ... u didn't check ur account ????

have a good day

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Why AJAX is fast ????
« Reply #7 on: March 22, 2007, 09:44:29 AM »
" Anyone who goes to a psychiatrist should have his head examined. "

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Why AJAX is fast ????
« Reply #8 on: March 22, 2007, 10:36:45 AM »
Quote
how can i send form data using POST method .... plz help
<form method='POST'> etc


Thanks Patio - nice to see you've got my back.  :)  (It was an okay PM though and I have since responded.)
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Why AJAX is fast ????
« Reply #9 on: March 22, 2007, 11:02:27 AM »
Just one of the many services i offer..... ;D

 ;)
" Anyone who goes to a psychiatrist should have his head examined. "

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Why AJAX is fast ????
« Reply #10 on: March 22, 2007, 11:52:01 AM »
Quote
Just one of the many services i offer..... ;D

 ;)
I daren't ask about the other services...
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

dmjpro

  • Guest
Re: Why AJAX is fast ????
« Reply #11 on: March 23, 2007, 01:24:17 AM »
i still don't get my answer ... how to send form data using POST ....

req.open('POST',URL,true) ... then what ll happen?????

thanxxxx

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Why AJAX is fast ????
« Reply #12 on: March 23, 2007, 03:38:30 AM »
No, no: the browser sends the form data.  Use the HTML code above to do it.
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos