Programming The Web With Generic Editor Components

Stc
Date: 2005-06-30

Time: 11:45

Room: BBL room 471

Speaker: Rinus Plasmeijer

Title: Programming the Web with Generic Editor Components

Abstract

Would it not be nice to program complicated interactive web applications in an easy way?

In Clean one can define Generic Editor Components (GEC's). A GEC is an interactive form with which a user can edit values of a given type t. GEC's can automatically be derived for any type t using generic (poly-typical) programming techniques. Editors can be combined, e.g. by using arrow combinators, to form editor circuits. After an edit action, the value obtained from one GEC is passed to the other GEC's in the circuit. In this way complicated, possibly mutual recursive forms can be created which react on each other.

Recently this technique has been further improved and applied to construct web pages. The web technology is completely different from the object I/O technique that is used to create interactive Clean applications, but once again generic programming techniques come to rescue again.

Despite of the complicated technology behind it, the resulting web applications are very easy to define and fun to make. This is demonstrated by a real life example: a web shop.