Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Tools and Techniques

   

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 system 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.
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 make your framework accessible to 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.


© 1999 Apple Computer, Inc. – (Last Updated July 27 99)