Introduction
The AJAX Toolkit Framework (ATF) provides AJAX support for Eclipse, which binds the most popular Ajax frameworks (Dojo, Zimbra, Rico, etc) to provide a consolidated module for Eclipse. Eclipse users can use the Ajax Toolkit Framework to write AJAX applications. Like developing a common Java program in Eclipse, it's very handy.
We now take the example of developing dojo applications, from the rapid development of dojo applications and the use of DOM Inspector and JavaScript Console to help develop the dojo application in 2 ways to see how ATF enhances the development of AJAX applications.
The purpose of this article is primarily to be interested in Ajax technology, and to be adept at installing Eclipse Plug-ins, using Eclipse to develop and debug applications, and WEB developers who have some knowledge of Dojo Toolkit.
The development environment constructs
1 Install the latest Eclipse SDK 3.2 and Java SDK 1.4 (or later)
2 installation of Eclipse Web Tools Project (WTP) 1.5 (along with its predecessor software installation package) Recommended installation: Wtp-all-in-one-sdk-r-1.5.0-200606281455-win32.zip software package, It integrates the two tools mentioned above.
3 Install Tomcat5.0 above version or WTP supported server.
4 Download and unzip the XULRunner package, then add the uncompressed directory to the command line and enter XULRunner--register-global to register XULRunner so that eclipse can embed Mozilla browsers.
5 Download the Ajax Toolkit Framework, which is a. jar file that can be added to eclipse through the new archive site in the Eclipse Update option.
6 Download the latest Dojo Toolkit, the current version is 0.3.1. Unzip and copy all the files under it to the Org.dojo.runtime_<version> directory under the Eclipse's plug-in folder. And make sure that all files in the SRC folder under the Dojo extract package are copied to the directory.
7 to allow Eclipse to identify the installation of ATF Plug-ins, we need to start Eclipse, on its shortcut, right click on the mouse, and in the window that appears in the target column to modify the corresponding information, such as modified to: E:\eclipse\eclispe.exe- Clean.
At this point, the development environment for using ATF to develop Dojo applications is set up, so let's take a look at the features that are available with ATF:
Use ATF to develop a quick primer for dojo applications
1. Open Eclipse3.2, switch to Java EE view, create a new project, select Dojo Java project