Friday, February 6, 2009

Introducing... Stuffers

The PLT Web Server stateless servlet language allows continuations to be serialized. This subtle features can produce entirely RESTful Web applications that use send/suspend, because continuations can be given to clients, rather than kept on the server.

Before today, the serialization process was not customizable. There was a single default. But now, you can write your own stuffers using the Stuffer API and instruct the server to use them in your servlet code.

Currently there are stuffers for:

  • GZip-ing
  • Base64 encoding
  • MD5 content-addressed filesystem storage

In the future, I will be adding support for encrypting and signing, in addition to content-addressed database storage through SQLite, CouchDB, and BerkeleyDB.

0 comments: