Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > WebObjects Developer's Guide


Table of Contents Previous Section

Advanced WebScript

In WebScript, you create subclasses of WOComponent, WOSession, WOApplication, and WODirectAction and you use declared variables of classes defined in the Foundation Framework, Enterprise Objects Framework, or the WebObjects Framework. For most WebScript applications, this is sufficient.

Sometimes, however, you might want to subclass some other class or at least extend the behavior of that class without having to resort to compiled code. For these cases, WebScript allows you to do two things: create a scripted class, which is a scripted subclass of anything other than WOApplication, WOSession, WOComponent, or WODirectAction; or create a category, which is a way to extend the behavior of a class without subclassing it.

Table of Contents Next Section