[plt-scheme] Introducing... Stuffers

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Fri Feb 6 18:30:37 EST 2009

>From http://jay-mccarthy.blogspot.com/2009/02/introducing-stuffers.html:

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

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.

Documentation links:

http://faculty.cs.byu.edu/~jay/plt-doc/web-server/stuffers_ss.html (now)

http://docs.plt-scheme.org/web-server/stuffers_ss.html (later)

The default as an example:


Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University

"The glory of God is Intelligence" - D&C 93

Posted on the users mailing list.