The Ingredients of a WebObjects Application
WebObjects applications reside within a directory named WebObjects in your web server's document root (<DocumentRoot>/WebObjects). Look in <DocumentRoot>/WebObjects/Examples/WebScript, and you'll see several directories. These are WebObjects application projects, provided with the WebObjects package as examples that you can use when learning WebObjects. These examples range from simple to highly complex. For now, you might want to focus on two of the simplest applications, named HelloWorld and Visitors.When you look inside any of these project directories, you may see these pieces:
- .wo directories, which are called components. Components are dynamic HTML pages.
- An application code file (Application.wos), which creates and manages applicationwide resources.
- A session code file (Session.wos), which creates and manages sessionwide resources.
- Standard project files, such as makefiles.
Table of Contents Next Section