Subject: Re: Beginners questions
From: (Rob Warnock)
Date: Sun, 03 Jun 2007 21:14:40 -0500
Newsgroups: comp.lang.lisp
Message-ID: <>
anders <> wrote:
| Daniel Leidisch <> wrote:
| > A web frontend would be both an easy and portable GUI solution.
| I like that ide, any framework to rekommende, or just send HTML to
| screen..

<> list *many* good web-related packages.
At the very minimum I would recommend using one of the HTML-generating
macro packages such as HTOUT or CL-WHO to do the generation of
your HTML for you, e.g.:

    > (with-output-to-string (s)
	(with-html-output (s s)
	  "Content-Type: test/html" (lfd) (lfd)
	    (:head (:title "Small Test Page"))
	    ((:body :bgcolor "#ffffff")
	      (:h1 "My First Small Page")
	      "Some plain text here" :br :br (lfd)
	      "Some numbers:"
	      (loop for i below 5 do
		(htm (fmt " ~d" i)))
	      (:h3 "That's all, folks!!")
	      "Bye, bye..."))))

    "Content-Type: test/html

    <HTML><HEAD><TITLE>Small Test Page</TITLE></HEAD>
    <BODY BGCOLOR='#ffffff'>
    <H1>My First Small Page</H1>Some plain text here<BR><BR>
    Some numbers: 0 1 2 3 4
    <H3>That's all, folks!!</H3>Bye, bye...</BODY></HTML>"

For some larger examples:


p.s. The "LHP" infrastructure used in the above examples
is not (yet) available, but is somewhat similar to these,
which you may want to study [especially the first one]:

Also see this tutorial:

Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607