Free tutorials for Java, Eclipse and Web programming



Follow me on twitter

Ajax with the Dojo Toolkit - Tutorial

Lars Vogel and Jennifer Nerlich de Vogel

Version 0.5

31.05.2009

Revision History
Revision 0.1 - 0.310.03.2008Lars Vogel and Jennifer Nerlich de Vogel
Created
Revision 0.430.05.2009Lars Vogel
Moved introduction to JavaScript to own article
Revision 0.531.05.2009Lars Vogel
Updated to Dojo Toolkit 1.3.1, described usage of Eclipse

Dojo

This article describes the usage of the Dojo toolkit for JavaScript programming. Dojo is an Ajax toolkit.


Table of Contents

1. Ajax - Asynchronous JavaScript and XML
1.1. Overview
1.2. Introduction to JavaScript
2. Installing Dojo
3. Eclipse
4. Your first Dojo pages
4.1. Table handling
4.2. Tooltip
5. Accessing the server
5.1. Reading a fixed file from a server
5.2. Send data to the server and update the page with the response
6. Thank you
7. Questions and Discussion
8. Links and Literature

1. Ajax - Asynchronous JavaScript and XML

1.1. Overview

Ajax (Asynchronous JavaScript and XML) describes the possibility to communicate with the webserver in the background and to update a webpage with information from the webserver without re-loading the webpage.

Ajax can improve the usability of a webpage, e.g. a webpage can quickly be displayed while information is still loaded from the webserver.

Ajax is based on the XMLHttpRequest and is considered to by a key technology to realize Web 2.0. For details on the XMLHttpRequest please see the resource section of this article.

1.2. Introduction to JavaScript

This article assume some familiarity with JavaScript. Please see Javascript - Tutorial for a introduction into JavaScript.