| The Casbah Project: APIs and Reference Manual: Developer's Release 1 | ||
|---|---|---|
| Prev | Lightweight Distributed Objects Overview | Next |
The mandatory "Hello World" example showing the simplest implementation of a client and server.
Canvas is a Tk server that displays a canvas and makes the canvas callable using LDO. For example, using ldo-client, you can create a rectangle like this:
ldo.pl localhost:8254 root create rectangle 100 100 200 200
Bounce is a small application that creates a virtual ping-pong table, creating a new table area every time the program is run. Distributed objects are used to arrange the tables in relation to each other and to pass the ball from one table to another.