What is AJAX?
-
Hi Friends, What is Ajax? what is importance of it? plz explain me? Thanks Pessi.:)
-
Hi Friends, What is Ajax? what is importance of it? plz explain me? Thanks Pessi.:)
-
Hi Friends, What is Ajax? what is importance of it? plz explain me? Thanks Pessi.:)
Check out the samples on this page[^], you'll have a good idea how Ajax can help user interactivity with a web app. In short, it's a way to reduce the amount of post backs to server by actually asking the server only for the information you need and loading in the page with javascript. It can work in several ways, one such ways is using web services, but you can also use the library provided on the link I put up there, and this one takes care of the call details, it's pretty cool. daniero
-
Guffa wrote:
It's a javascript library to call web services.
utter tripe! AJAX = Advanced Javascript and XML.....not in any way shape or form bound to webservices, and not a library... The most well known part of AJAX is the use of the XMLHttp object in IE / Netscrape etc (but there is MUCH more to it than just that!) The aim of it is to allow the client side to retrieve data from the server without posting back...which means (for example), if your user selects a value from a combo / whatever, then to populate dependent controls (eg, select country, pop with regions is a common use) WITHOUT having to postback the whole page. It's all done on the client side, and can be asynchronous (using callbacks) which means that UIs end up alot more sprightly..... To gety started, look at some of the excellent examples on CP...or just start playing with notepad and XMLHttp lol.... "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox
-
Guffa wrote:
It's a javascript library to call web services.
utter tripe! AJAX = Advanced Javascript and XML.....not in any way shape or form bound to webservices, and not a library... The most well known part of AJAX is the use of the XMLHttp object in IE / Netscrape etc (but there is MUCH more to it than just that!) The aim of it is to allow the client side to retrieve data from the server without posting back...which means (for example), if your user selects a value from a combo / whatever, then to populate dependent controls (eg, select country, pop with regions is a common use) WITHOUT having to postback the whole page. It's all done on the client side, and can be asynchronous (using callbacks) which means that UIs end up alot more sprightly..... To gety started, look at some of the excellent examples on CP...or just start playing with notepad and XMLHttp lol.... "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox
You are right. AJAX is much less than I thought it was. I have heard a lot about it and I know what it does and how it does it, but I hadn't actually looked up the exact definition. When I look further into it I realise that I have actually used AJAX without even knowing that it was AJAX. --- b { font-weight: normal; }
-
You are right. AJAX is much less than I thought it was. I have heard a lot about it and I know what it does and how it does it, but I hadn't actually looked up the exact definition. When I look further into it I realise that I have actually used AJAX without even knowing that it was AJAX. --- b { font-weight: normal; }
Guffa wrote:
When I look further into it I realise that I have actually used AJAX without even knowing that it was AJAX
:) There seems to be alot of that around!! Apparently (and I never used it till all the hoo-ha that seems to have cropped up recently), it's been around since the IE4 days..... The confusion about it beong a lib is understandable - every man and his dog seems to be coming out with an AJAX library....to my mind though, they're all complete overkill....just write your own AJAX.js and let er rip he he - it's so easy, even I can do it lol! "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox