beautypg.com

Examining your project, Examining your project 17 – Apple WebObjects 3.5 User Manual

Page 17

background image

Examining Your Project

17

Examining Your Project

Project Builder displays a browser showing the contents of your project.
The first column lists several categories of files that your project may
contain. This section describes some of the most important files you’ll use.

1. Select Web Components.

The next column displays a list with one element,

Main.wo

, which is a

directory containing the first

component

in your application. Every

application starts with a component called Main.

2. Select

Main.wo

.

The files you see displayed in the next column are some of the files
you work with when developing your component:

Main.api

is used for components that are going to be reused by other

components; you won’t use it in this tutorial. See

WebObjects Tools and

Techniques

for more information on creating reusable components.

Main.html

is the HTML template for your page. It can include tags for

dynamic WebObjects elements as well as regular HTML. Typically, you do
not edit this file directly; you create your page’s elements graphically using
WebObjects Builder.

Main.wod

is the declarations file that specifies bindings between the dynamic

elements and variables or methods in your scripts. Normally, you don’t edit
this file directly; you use WebObjects Builder to generate the bindings for
you.

Categories (“suitcases”)
of project resources.

Your project’s components.

Files in the selected
component.