ajax

C

Carl Forsman

Ajax is just regular client side javascript + 1 more small thing ->

XMLHttpRequest / ActiveXObject - that send XML to sever in the
background??

is that true?

Then learning Ajax is no more than learning the old javascript code on
how to change the DOM tree with HTML document?

the only different is there is ability to send XML to server through
HTTP request / response?
 
S

Stevo

Carl said:
Ajax is just regular client side javascript + 1 more small thing ->

XMLHttpRequest / ActiveXObject - that send XML to sever in the
background??

is that true?

Then learning Ajax is no more than learning the old javascript code on
how to change the DOM tree with HTML document?

the only different is there is ability to send XML to server through
HTTP request / response?

Ajax (shorthand for asynchronous JavaScript + XML) is a group of
interrelated web development techniques used on the client-side to
create interactive web applications. With Ajax, web applications can
retrieve data from the server asynchronously in the background without
interfering with the display and behavior of the existing page. The use
of Ajax techniques has led to an increase in interactive or dynamic
interfaces on web pages. Data is usually retrieved using the
XMLHttpRequest object. Despite the name, the use of JavaScript and XML
is not actually required, nor do the requests need to be asynchronous.

http://en.wikipedia.org/wiki/Ajax_(programming)
 
T

Thomas 'PointedEars' Lahn

Carl said:
Ajax is just regular client side javascript + 1 more small thing ->

XMLHttpRequest / ActiveXObject -

Yes, but not just any `ActiveXObject'.
that send XML

No, the *server* can respond with/send XML or JSON or whatever. Client-side
scripting needs to process the response, and one needs to make an HTTP
request first (Consisting of headers and, if a POST request, of a message
body, too) for the server to respond. The request usually does _not_
contain XML markup, but it is possible (SOAP and XML-RPC being examples of
that).

To sever your XML said:
in the background??

Not necessarily.
is that true?
Partially.

Then learning Ajax is no more than learning the old javascript code on
how to change the DOM tree with HTML document?
No.

the only different is there is ability to send XML to server through
HTTP request / response?

No.

Next time, STFW first. <http://en.wikipedia.org/wiki/Ajax_(programming)>
-- which can readily be found by typing "Ajax" into Google Web Search --
is a good starting point.

There is also a very good tutorial at MDC:
<https://developer.mozilla.org/en/AJAX>
(I wonder why it isn't linked from the Wikipedia article [anymore?])

See also: <http://jibbering.com/faq/#posting>


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,979
Messages
2,570,185
Members
46,728
Latest member
FernMcmull

Latest Threads

Top