Monday, April 30, 2007

marshalling and unmashalling

Place in proper rank : "marshal the troops"
Arrange in logical order: "marshal facts or arguments"
Make ready for action or use: "marshal resources"

Ajax tutorial

I am reading this tutorial about AJAX
http://www-128.ibm.com/developerworks/java/library/j-ajax1/

Code to send AJAX HTTP Request:
function addToCart(itemCode) {

// Obtain an XMLHttpRequest instance
var req = newXMLHttpRequest();

// Set the handler function to receive callback notifications
// from the request object
var handlerFunction = getReadyStateHandler(req, updateCart);
req.onreadystatechange = handlerFunction;

// Open an HTTP POST connection to the shopping cart servlet.
// Third parameter specifies request is asynchronous.
req.open("POST", "cart.do", true);

// Specify that the body of the request contains form data
req.setRequestHeader("Content-Type",
"application/x-www-form-urlencoded");

// Send form encoded data stating that I want to add the
// specified item to the cart.
req.send("action=add&item="+itemCode);
}
The Ajax community is fast moving. JSON is an alternative to the
XML data.
representation

boilerplate

Standard formulations uniformly found in certain types of legal documents or news stories

Thick plate iron used in the production of boilers

Tuesday, April 10, 2007

Norway and Norwegian

Norwegian is a Germanic language spoken primarily in Norway, where it is an official language. Norwegian is closely related to and generally mutually intelligible with Swedish and Danish.
(Wikipedia)

Monday, April 2, 2007

Fingers crossed

Example:

Let's keep our fingers crossed one of the Google Techs see this and ...


fingers crossed

hopefully

  1. We'll make it to the finals, fingers crossed