Message floater example (deprecated)

This example is hard to maintain and life is busy, so, it’s not going to be packaged for Databinder 1.1 for the time being.

Message floater is a another take on the store and display function of the graffiti example, this time rendering the data even more unconventionally.

New text is submitted through an Ajax form and persisted on the server. A display applet running on the same page fetches messages on start-up and when notified of updates by JavaScript. There are two versions of the applet: the default (and smaller download) applet transports over Cajo, the other over XML-RPC.

Demonstration

Try this application and leave a message for the ages. (The display may take half a minute to load.) The applets are written in the Processing environment, based on its KineticType example.

Web source files

Applet source files

Note: If you want to learn Processing, don’t start here. Start here. The Processing Development Environment is required to build the applet.

If you’re set up for Databinder, download and run this at home. The setup of this (limit pushing) applet has some extra steps. See its README.txt.

Projects for the reader

  1. Display validation errors
  2. Display random entries instead the latest
  3. Cause the applet text to spin a full circle on entry
Page last updated April 7, 2008. Produced with Databinder.