Table of Contents Previous Section

Frameworks

A framework is a collection of classes and resources that an application can use. By storing items such as components and images in frameworks, you can reuse them in multiple projects without having to create multiple copies.

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

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 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.

Table of Contents Next Section