Lecture overview
Keyboard shortcut: 'u'  Previous page
Keyboard shortcut: 'p'  Next page
Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide
Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Slide 35 : 42
CGI Programming in Scheme

We now return to CGI programming in Scheme.

CGI programming is mainly functional programming

The programmatic authoring approach creates a seamless integration between server side programs (calculated documents) and more static WWW documents

  • LAML support of CGI Programming in Scheme

    • A library to deal with the Common Gateway Interface

      • Decoding of URL and browser data to Lisp data structures

        • Both from URL encoding and multipart encoding

      • Encoding of Lisp data structures to URL format

    • Generation of HTML (via mirrors).

    • Other libraries, for instance dealing with time, colors, and reading/writing of text files.

From a practical point of view Scheme is a realistic language for CGI programming

This conclusion is drawn from a variety of different examples, which we have implemented. Most of the examples have been used to support various aspects of 'Open University' students located off campus.