Fundamentals of CS I (CS151 2002F)
Primary:
[Skip To Body]
[Front Door]
[Current]
[Glance]
[Honesty]
[Instructions]
[Links]
[Search]
[Syllabus]
Groupings:
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
ECA:
[About]
[Grades]
[Quizzes]
[Submit Work]
[Change Password]
[Reset Password]
Miscellaenous:
[Scheme Reference]
[CS151 2002F Gum]
[CS151 2001S]
[SamR]
[Glimmer Labs]
[schemers.org]
Back to Characters and Strings. On to CGI Scripting, Continued.
Held Tuesday, September 17, 2002
Summary
Today we begin our exploration of the CGI scripts that are used to dynamically generate Web pages.
Assignments
Notes:
Overview
.cgi represents CGI scripts).
cgi-bin are CGI scripts).
.cgi is a CGI script.
(page) procedure
that returns a string that represents an HTML page.
#!/bin/bash /home/rebelsky/bin/schemeweb your-scheme-file
/home/rebelsky/bin/schemeweb is the helper program
I've set up to run Scheme-based CGI scripts.
<form method="get" action="cgi-script"> <input type="text" name="variable-name"> <input type="submit" value="text-on-button"> </form>
extract-binding/single procedure to
extract the value associated with a variable name from a form.
(define fave-color (extract-binding/single 'color (get-bindings)))
Thursday, 29 August 2002
Tuesday, 17 September 2002
Back to Characters and Strings. On to CGI Scripting, Continued.
Primary:
[Skip To Body]
[Front Door]
[Current]
[Glance]
[Honesty]
[Instructions]
[Links]
[Search]
[Syllabus]
Groupings:
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Readings]
[Reference]
ECA:
[About]
[Grades]
[Quizzes]
[Submit Work]
[Change Password]
[Reset Password]
Miscellaenous:
[Scheme Reference]
[CS151 2002F Gum]
[CS151 2001S]
[SamR]
[Glimmer Labs]
[schemers.org]
Disclaimer:
I usually create these pages on the fly
, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Mon Dec 2 08:41:00 2002.
The source to the document was last modified on Tue Sep 17 09:31:36 2002.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS151/2002F/Outlines/outline.11.html.
You may wish to
validate this document's HTML
;
;
Check with Bobby