Libraries, Non project files – Apple WebObjects 3.5 Tools And Techniques User Manual

Page 20

Advertising
background image

Chapter 1

Setting Up WebObjects Applications

20

Every WebObjects Application project includes several frameworks by default.
When you build, your application links with these frameworks. They are:

WebObjects: The basic WebObjects classes.

WOExtensions: Extensions to the WebObjects framework.

Foundation: Basic object classes that most applications use.

EOAccess: The Enterprise Objects Access Layer.

EOControl: The Enterprise Objects Control Layer.

You can include additional frameworks in your project if you need to. To add an
existing framework to your project:

1. Double-click Frameworks in the first column of the browser.

2. In the Add Frameworks panel that appears, select a framework to add and

click Open.

Frameworks are generally installed in the directory
NeXT_ROOT/

NextLibrary

/

Frameworks

.

In addition, you can create your own frameworks in order to share WebObjects
components and resources across multiple applications. To create a WebObjects
Framework:

1. Choose Project

m

New.

2. Select WebObjectsFramework from the pop-up menu.

3. Select the path where you want to create the framework.

Once you have created a framework, you can add components, images, and
other items to it in the same way that you would add them to a project. To have
your framework be accessible by other applications, you must install it (see
“Installing Your Application” for more information). See “Reusable
Components” for more information on using components that live in
frameworks.

Libraries

The Libraries suitcase contains libraries that your application links to.

Non Project Files

The Non Project Files suitcase is used for files that you have opened that aren’t
part of the current project.

Advertising