Archive for the ‘Ajax - Reverse Xaja’ Category

Does my Hosting Provider supports AJAX on SERVER-SIDE?

Wednesday, March 31, 2010 11:48 No Comments

You 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 [...]

This was posted under category: Ajax - Reverse Xaja

Should I use an HTTP GET or POST for my AJAX calls?

Tuesday, March 30, 2010 11:46 No Comments

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.

This was posted under category: Ajax - Reverse Xaja

Security Issues about AJAX

Monday, March 29, 2010 11:42 No Comments

JavaScript 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 [...]

This was posted under category: Ajax - Reverse Xaja

How do I abort the current XMLHttpRequest?

Sunday, March 28, 2010 11:43 No Comments

Just call the abort() method on the request.

This was posted under category: Ajax - Reverse Xaja

Is the XMLHttpRequest object part of a W3C standard?

Saturday, March 27, 2010 11:40 No Comments

No. Or not yet. It is part of the DOM Level 3 Load and Save Specification proposal.

This was posted under category: Ajax - Reverse Xaja

AJAX Debugging methods

Friday, March 26, 2010 11:38 No Comments

There 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 [...]

This was posted under category: Ajax - Reverse Xaja

Can I use Ajax with Microsoft’s .NET?

Thursday, March 25, 2010 11:35 No Comments

See http://ajax.schwarz-interactive.de/ for a free AJAX implementation for the .NET Framework.

This was posted under category: ASP/.NET, Ajax - Reverse Xaja

How can AJAX work for JAVA ?

Tuesday, March 23, 2010 11:31 No Comments

Absolutely. 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 [...]

This was posted under category: Ajax - Reverse Xaja

Key Feature of AJAX for Web 2.0

Monday, March 22, 2010 11:25 No Comments

An 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 [...]

This was posted under category: Ajax - Reverse Xaja

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’); [...]

This was posted under category: Ajax - Reverse Xaja