Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AJAX - Whats the link between PHP and AJAX

 
Vipin Savai
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
For past few months i am hearing a lot about AJAX.
I am new to this word.
Now i find AJAX-PHP in this forum.
How different is it compared to traditional DHTML using java script.

I think its too basic a question, but i have left web development for past 4 years and working on EAI for long.
Just want to come back in pace with the tech.

rgds
Vipin
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think its too basic a question, but i have left web development for past 4 years

In fact, Ajax has been around for a very long time, but it just got a brand new name recently It only uses known technologies and put them together.
Basically, you'll have to use JavaScript, the DOM, the XMLHttpRequest
object, and some XML to communicate with the server.

On the server side, you can use any kind of language you want. This book is focusing on PHP for the server side.
[ August 22, 2006: Message edited by: Satou kurinosuke ]
 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can also use Java Servlets or .jsp to process the requests - print the output with the response.getWriter().write(String) method. Using Servlets is more efficient, but if you're just learning and want to save time use .jsp.
 
Bogdan Brinzarea
author
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The focus of the promoted book is AJAX as a technology where PHP has been chosen as the language for the server side of the examples.

Each example of the book can be easily converted to Servlets/JSP with minimal knowledge of PHP.

Bogdan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic