N
needin4mation
I understand this is a asp.net group, but thought I would post this
here for comments. I admit I have used this post in another group, but
it has less traffic. Here's to hoping I'm just blind to the obvious:
I have been reading a lot about AJAX. I want to use it and will. But
I keep reading about how it doesn't make a roundtrip to the server, no
postback, etc. But isn't the truth that *something* makes a trip to
the server? It may be int the background, but there still is a trip to
the server to retrieve data, so I'm not real sure of the benefit.
Again, I think I see the light (and I realize ajax isn't correct for
every problems), but I'm not quite sure.
For example, say I have a zip code and when I choose that zip code the
proper city comes up. I could do that with a roundtrip/postback to the
server - the whole page and get the correct cities, or I can keep the
current page and in the background have the correct city come up.
But what is the benefit here? It still takes the same amount of time
to gather the data, maybe? It's just chunked up so that it doesn't
feel as long? Believe me. I'm no knocking Ajax, just trying to
understand and justify it. Hey, it's neat.
here for comments. I admit I have used this post in another group, but
it has less traffic. Here's to hoping I'm just blind to the obvious:
I have been reading a lot about AJAX. I want to use it and will. But
I keep reading about how it doesn't make a roundtrip to the server, no
postback, etc. But isn't the truth that *something* makes a trip to
the server? It may be int the background, but there still is a trip to
the server to retrieve data, so I'm not real sure of the benefit.
Again, I think I see the light (and I realize ajax isn't correct for
every problems), but I'm not quite sure.
For example, say I have a zip code and when I choose that zip code the
proper city comes up. I could do that with a roundtrip/postback to the
server - the whole page and get the correct cities, or I can keep the
current page and in the background have the correct city come up.
But what is the benefit here? It still takes the same amount of time
to gather the data, maybe? It's just chunked up so that it doesn't
feel as long? Believe me. I'm no knocking Ajax, just trying to
understand and justify it. Hey, it's neat.