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 36 : 42
CGI Examples

We will here look at concrete server pages in LAML and similar WWW frameworks.

includes/laml-cgi-example-pp.scmAn excerpt of a LAML CGI program with an interface to the LAML calendar tool.

An excerpt of a LAML CGI program with an interface to the LAML calendar tool. We have omitted a fair number of functions that are applied in the procedure calendar-entry-page. We are only interested to give the reader and viewer a feel for LAML CGI program. Notice that the program is represented entirely in the programming language - Scheme and LAML functions/procedures.

includes/php-exampleAn excerpt of a PHP server program.

An excerpt of a PHP server program. Notice the mix of HTML and PHP expressions - the latter is a C-like programming language.

includes/jsp-exampleAn excerpt of a JSP server program - using Java as the programming language.

An excerpt of a JSP server program - using Java as the programming language.

includes/asp-exampleAn excerpt of an ASP server program - using Visual Basic as the programming language

An excerpt of an ASP server program - using Visual Basic as the programming language

The main difference between the LAML approach and the more widespread alternatives (ASP, JSP, PHP) is represented in the use of HTML relative to the use of the programming language.