aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes AJAX - Whats the link between PHP and AJAX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "AJAX - Whats the link between PHP and AJAX" Watch "AJAX - Whats the link between PHP and AJAX" New topic
Author

AJAX - Whats the link between PHP and AJAX

Vipin Savai
Greenhorn

Joined: Jul 04, 2001
Posts: 2
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


thanks<BR>Vipin
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

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 ]

[My Blog]
All roads lead to JavaRanch
Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

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.


Mike Firkser
Rutgers '84
Bogdan Brinzarea
author
Greenhorn

Joined: Aug 22, 2006
Posts: 25
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AJAX - Whats the link between PHP and AJAX