Top
WebScript is the WebObjects scripting language. It is simple and easy to learn. You use it to write the logic of application, session, and component objects in WebObjects. This chapter describes WebScript and how it fits into the WebObjects application.
- The WebScript Language
Declaring Variables
- The id Data Type
- Making Assignments
- Messaging in WebScript
- Creating Objects
- Writing Your Own Methods
- What is self?
- Categories
- Scripted Classes
- "Modern" WebScript Syntax
Using WebScript in a WebObjects Application
The Role of Scripts in a WebObjects Application
Visitors Example
The Duration of a Component
Variables and Scope
Variables and Scope: a Summary
Accessing and Sharing Variables
WebScript Language Summary
A Note to Objective-C Developers
- Debugging
- Object-Oriented Concepts: a Quick Overview
- What Are the Origins of WebScript?
First Section