Archive for the ‘Ajax - Reverse Xaja’ Category
Does my Hosting Provider supports AJAX on SERVER-SIDE?
Wednesday, March 31, 2010 11:48 No CommentsYou may be benefiting from AJAX already. Many existing Java based frameworks already have some level of AJAX interactions and new frameworks and component libraries are being developed to provide better AJAX support. I won’t list all the Java frameworks that use AJAX here, out of fear of missing someone, but you can find a [...]
Should I use an HTTP GET or POST for my AJAX calls?
Tuesday, March 30, 2010 11:46 No CommentsAJAX 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.
Security Issues about AJAX
Monday, March 29, 2010 11:42 No CommentsJavaScript is in plain view to the user with by selecting view source of the page. JavaScript can not access the local file-system without the user’s permission. An AJAX interaction can only be made with the servers-side component from which the page was loaded. A proxy pattern could be used for AJAX interactions with external [...]
How do I abort the current XMLHttpRequest?
Sunday, March 28, 2010 11:43 No CommentsJust call the abort() method on the request.
Is the XMLHttpRequest object part of a W3C standard?
Saturday, March 27, 2010 11:40 No CommentsNo. Or not yet. It is part of the DOM Level 3 Load and Save Specification proposal.
AJAX Debugging methods
Friday, March 26, 2010 11:38 No CommentsThere are not that many tools out there that will support both client-side and server-side debugging. I am certain this will change as AJAX applications proliferate. I currently do my client-side and server-side debugging separately. Below is some information on the client-side debuggers on some of the commonly used browsers.
Firefox/Mozilla/Netscape – Have a built in [...]
Can I use Ajax with Microsoft’s .NET?
Thursday, March 25, 2010 11:35 No CommentsSee http://ajax.schwarz-interactive.de/ for a free AJAX implementation for the .NET Framework.
How can AJAX work for JAVA ?
Tuesday, March 23, 2010 11:31 No CommentsAbsolutely. Java is a great fit for AJAX! You can use Java Enterprise Edition servers to generate AJAX client pages and to serve incoming AJAX requests, manage server side state for AJAX clients, and connect AJAX clients to your enterprise resources. The JavaServer Faces component model is a great fit for defining and using AJAX [...]
Key Feature of AJAX for Web 2.0
Monday, March 22, 2010 11:25 No CommentsAn Ajax application eliminates the start-stop-start-stop nature of interaction on the Web by introducing an intermediary – an Ajax engine – between the user and the server. It seems like adding a layer to the application would make it less responsive, but the opposite is true.
Instead of loading a web page, at the start of [...]
PHP Xajax Loading Message – Reverse Ajax
Saturday, February 20, 2010 22:23 No Comments<?php
include ‘./xajax/xajax_core/xajax.inc.php’; //include the xajax libraries
function loading_function(){
new object response object
$objResponse = new xajaxResponse();
sleep(2); // Pretend to load some data
$objResponse->alert("Loading Complete"); // Display an alert when Task is completed
return $objResponse; // Return Object Response
}
$xajax = new xajax(); // Xajax Object
$xajax->registerFunction(‘loading_function’); // Register loading_function
$xajax->processRequest(); // Process the Request
$xajax_js = $xajax->getJavascript(‘/xajax’); [...]


