Web Applications in Racket
This manual describes the Racket libraries for building Web applications.
Running Web Servlets describes how to run the servlets you’ve written.
Stateful Servlets and Stateless Servlets describe two ways to write Web applications. Stateful Servlets use the entire Racket language, but their continuations are stored in the Web server’s memory. Stateless Servlets use a slightly restricted Racket language, but their continuation can be stored by the Web client or on a Web server’s disk. If you can, you want to use Stateless Servlets for the improved scalability.
The HTTP: Hypertext Transfer Protocol section describes the common library functions for manipulating HTTP requests and creating HTTP responses. In particular, this section covers cookies, authentication, and request bindings.
The final five sections (URL-Based Dispatch, Formlets: Functional Form Abstraction, Templates: Separation of View, Page: Short-hand for Common Patterns, and Testing Servlets) cover utility libraries that ease the creation of typical Web applications.
This manual closes with a frequently asked questions section: Troubleshooting and Tips.