We don?t know yet. Because this is a relatively new approach, our understanding of where Ajax can best be applied is still in its infancy. Sometimes the traditional web application model is the most appropriate solution to a problem.

{ 0 comments }

Some of the languages which are used in the combination of the webpage are.
1) Javascript will be present on the client browser
2) For client to server combinations following languages are used such as standard HTTP and XMLHTTP.
3) Server side scripting is used whenever there is a request from the client side. This server side scripting can use any preferred language for working in the back end.
4) Different languages and features are present which can help the client and solve the problem.

{ 0 comments }

Explain about the readystate property?

January 27, 2012

Readystate property holds the response of the server to the query generated from the client side. Each time the readystate property changes onreadystatechange function will be executed. Some of the values for the readystate property are as follows if the status is zero the request is not initialized, 1 the request has been set up, [...]

Read Full Question and Answer →

How do I test my AJAX code?

January 27, 2012

There is a port of JUnit for client-side JavaScript called JsUnit used to test AJAX code

Read Full Question and Answer →

State the difference between GET and POST?

January 27, 2012

You would use GET when the request is idempotent, meaning that multiple requests generate the same result. In general use GET to retrieve data from the server, in other words try to change the state on the server with a GET call. Use POST methods anytime you are changing the state on the server with [...]

Read Full Question and Answer →

Where can I find examples of AJAX?

January 27, 2012

While components of AJAX have been around for some time (for instance, 1999 for XMLHttpRequest), it really didn’t become that popular until Google took. But Global Guide Line guide all of its viewers to learn AJAX from absolute beginner to advance level..

Read Full Question and Answer →

Should I consider AJAX?

January 27, 2012

AJAX definitely has the buzz right now, but it might not be the right thing for you. AJAX is limited to the latest browsers, exposes browser compatibility issues, and requires new skill-sets for many. There is a good blog entry by Alex Bosworth on AJAX Mistakes which is a good read before you jump full [...]

Read Full Question and Answer →

What Browsers does HTML_AJAX work with?

January 27, 2012

As of 0.3.0, all the examples that ship with HTML_AJAX have been verified to work with * Firefox 1.0+ * Internet Explorer 5.5+ (5.0 should work but it hasn’t been tested) Most things work with * Safari 2+ * Opera 8.5+

Read Full Question and Answer →

What do I do on the server to interact with an AJAX client?

January 27, 2012

The “Content-Type” header needs to be set to”text/xml”. In servlets this may be done using the HttpServletResponse.setContentType()should be set to “text/xml” when the return type is XML. Many XMLHttpRequest implementations will result in an error if the “Content-Type” header is set The code below shows how to set the “Content-Type”. response.setContentType(“text/xml”); response.getWriter().write(“<response>invalid</response>”); You may also [...]

Read Full Question and Answer →

What about applets and plugins?

January 27, 2012

Don’t be too quick to dump your plugin or applet based portions of your application. While AJAX and DHTML can do drag and drop and other advanced user interfaces there still limitations especially when it comes to browser support. Plugins and applets have been around for a while and have been able to make AJAX [...]

Read Full Question and Answer →