| Author |
does AJAX eliminate the need of refresh ?
|
Eusebio Floriano
Ranch Hand
Joined: Mar 07, 2004
Posts: 235
|
|
Hi guys, I need to do a page that has to constantly reload some data. This page must inform the variations of stock exchanges. The only solution that i have is constantly refresh the page using a simple javascript. Can AJAX resolve this kind of requirements ? If it can, is it simple to do if AJAX? Regards
|
SCJP 1.4 / 5.0 - SCBCD 1.3 - SCWCD 1.4 - IBM 484
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56233
|
|
Yes, this is exactly the type of usage that AJAX is best for. I'd hardly call AJAX a simple technology to use -- it requires a pretty good grasp of Javascript -- but it's not rocket science either.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Eusebio Floriano
Ranch Hand
Joined: Mar 07, 2004
Posts: 235
|
|
Thx Bear, And talking about performance. Do you think that AJAX could decrease the overhead caused by contant refreshes when using a regular javascript ? Regards,
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Ajax is only request the information you need and is not returning the entire page. The benifit you are going to get is that the page is not going to flash/freeze as you are refreshing the page. It will look more magical when the information is pulled from the server. Eric
|
 |
 |
|
|
subject: does AJAX eliminate the need of refresh ?
|
|
|