Ajax Interview Questions & Answers part 3
Q: –Should I use an HTTP GET or POST for my AJAX calls?
AJAX requests should use an HTTP GET request when retrieving data where the data will not change for a given request URL. An HTTP POST should be used when state is updated on the server. This is in line with HTTP idempotency recommendations and is highly recommended for a consistent web application architecture.
Q: – Is the server or the client in control in AJAX?
Q: – When should I use an Java applet instead of AJAX?
Q: – What kinds of applications is Ajax best suited for?
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.
Q: – Do Ajax applications always deliver a better experience than traditional web applications?
Not necessarily. Ajax gives interaction designers more flexibility. However, the more power we have, the more caution we must use in exercising it. We must be careful to use Ajax to enhance the user experience of our applications, not degrade it.
Q: – Are there any frameworks available to help speedup development with AJAX?
There are several browser-side frameworks available, each with their own uniqueness…
Submitted By:-Rajender Sharma Email-ID: – firstname.lastname@example.org