# Creating a Script.aculo.us Application

To create a new Script.aculo.us application, select File > New > Other > Scriptaculous > Scriptaculous Application. The Script.aculo.us Application Wizard consists of one wizard page (shown below).

All inputs on this page are required. The Application Name will be the name for the new application. The Project input defines which workspace project the new application will be created in. The Application Root will be the name of the directory created which will contain all of the new application's assets. Once the required inputs are supplied, selecting the Finish button will generate a new Script.aculo.us application.

Once the Finish button is selected, the Script.aculo.us application wizard will generate an html template file which will serve as the basis for the Script.aculo.us application. This file will be created within the specified project within the specified application root directory location.

## Script.aculo.us Code Snippets

The Script.aculo.us personality has predefined code snippets available for use during Script.aculo.us application development. To open the Snippets View, select Window > Show View > Other > Basic > Snippets. Within this view, there will be a Script.aculo.us category that will contain all available Script.aculo.us code snippets. To use a code snippet, simple drag the desired snippet from the view and drop it within the <body> of the Script.aculo.us application html file. Depending on the snippet, there may be inputs required at drop time, via a dialog window, which are used to customize the code snippet.

(C) Copyright 2006, 2007 IBM Corporation and others. All Rights Reserved.