Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ajax is client or server side??

Status
Not open for further replies.

cleanair4me

Technical User
May 16, 2008
61
AJAX is considered client side language or server side?

It seems to be using client side (JavaScript) working with XML on the server.

Please advise if it is one or the other or both?
 
AJAX is a client side technology - [!]A[/!]synchronous [!]J[/!]avaScript [!]A[/!]nd [!]X[/!]ML.

You do, of course, have to have a server-side setup capable of delivering your client-side AJAX its data (whether XML or otherwise), but AJAX itself is all client-side.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
Code Couch Tech Snippets & Info:
 
Hi

cleanair4me said:
AJAX is considered client side language or server side?
AJAX is not a language. It is a technique. It can be implemented in various languages. ( The Wikipedia article about AJAX explains it better. )
cleanair4me said:
It seems to be using client side (JavaScript)
Being in first place a communication technique, it requires two sides : client and server. Of course, the client side development is far more emphasized, while it has to process the received information. If you are requesting only static data from the server, you will not need to develop anything server-side, but as long there is communication ( usually through [tt]XMLHttpRequest[/tt] ), the technique depends on both sides.
cleanair4me said:
working with XML on the server.
Although the "X" in AJAX's name is for XML, its is not limited to it. Personally I hate XML and prefer JSON.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top