<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Web Server Design</title>
	<atom:link href="http://webserverdesign.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://webserverdesign.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 16 Nov 2010 19:12:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='webserverdesign.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Web Server Design</title>
		<link>http://webserverdesign.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://webserverdesign.wordpress.com/osd.xml" title="Web Server Design" />
	<atom:link rel='hub' href='http://webserverdesign.wordpress.com/?pushpress=hub'/>
		<item>
		<title>cl-http-70-23 virtual machine</title>
		<link>http://webserverdesign.wordpress.com/2010/11/15/cl-http-70-23-virtual-machine/</link>
		<comments>http://webserverdesign.wordpress.com/2010/11/15/cl-http-70-23-virtual-machine/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 20:31:19 +0000</pubDate>
		<dc:creator>Andrew Ritz</dc:creator>
				<category><![CDATA[web servers]]></category>

		<guid isPermaLink="false">http://webserverdesign.wordpress.com/?p=36</guid>
		<description><![CDATA[Image by dpicker via Flickr Here is a version of cl-http (the Common Lisp Hypermedia Server) for downloading (link), that runs on Mandriva 2006 with cumcl-18b.linux.glibc2 installed. As you probably won’t want to install this version of Mandriva on your computer I’ve created a Virtual Appliance (link), that you can download and run in VMware [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webserverdesign.wordpress.com&amp;blog=3812347&amp;post=36&amp;subd=webserverdesign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p><a href="http://www.flickr.com/photos/89892960@N00/321077385"><img src="http://farm1.static.flickr.com/137/321077385_7e222337d3_m.jpg" alt="Mandriva Linux 2007.0" width="240" height="192" /></a></p>
<p>Image by <a href="http://www.flickr.com/photos/89892960@N00/321077385">dpicker</a> via Flickr</p>
</div>
<p>Here is a version of cl-http (the <a href="http://www.cl-http.org:8001/cl-http/">Common Lisp Hypermedia Server</a>) for downloading (<a href="http://www.mediafire.com/?crfjtfefplp94up" target="_blank">link</a>), that runs on <a href="ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/official/iso/2006.0/i586/">Mandriva 2006</a> with <a href="http://www.rgrjr.com/cmucl/downloads/release/18b/">cumcl-18b.linux.glibc2</a> installed. As you probably won’t want to install this version of Mandriva on your computer I’ve created a <a title="Virtual Appliance" rel="wikipedia" href="http://en.wikipedia.org/wiki/Virtual_appliance">Virtual Appliance</a> (<a href="http://www.filehosting.org/file/details/182202/cl-http-70-23.7z" target="_blank">link</a>), that you can download and run in <a href="http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0">VMware Player</a>.</p>
<p>Mandriva 2006, is an ideal platform for small lisp projects and integrates nicely into Windows via the <a href="http://www.openssh.com/">Openssh</a> interface which allows applications to log into a remote machine and execute commands. I always install <a href="http://www.andlinux.org/">andLinux</a> on my dos box because then the <a href="http://sourceforge.net/projects/xming/">Xming X server</a> is set up automatically and can be accessed from the Mandriva Virtual Machine. I just set my DISPLAY variable to the address of the Xming X server  which is usually 192.168.11.1:0.0. Then when a command is executed on  the Mandriva Virtual Machine using ssh (<a href="http://the.earth.li/%7Esgtatham/putty/0.52/htmldoc/Chapter7.html">plink</a> on windows), the Xming server is chosen for graphics output by default.</p>
<p>Once you’ve booted Mandiva and started iceWM and the cl-http server,  just start Firefox and you’ll be presented with a start page from which  you can access the documentation. To start the iceWM you’ll  need to login as “plateau” with password “toor” and type startx at the  shell prompt. When iceWM has started then open a shell by clicking on  the terminal button in the bottom menu bar, and type in cl-http. Firefox can be started by clicking on the browser button.</p>
<p>The root directory for cl-http is “/usr/local/cl-http-70-23”. The patches I downloaded with this version have already been applied. One  patch was rejected so I fixed the lisp code by hand. To compile cl-http  just do the following:</p>
<pre>    &gt; cd /usr/local/cl-http-70-23
    &gt; lisp &lt; cmucl/start.lisp</pre>
<p>At the end of this post you&#8217;ll find some example code. With luck,  I’ll post some more examples about creating dynamic web pages within the  next few weeks.</p>
<p>If you want to launch applications using ssh (plink) then you will  need to log into the Mandriva Virtual Machine as &#8220;root&#8221;, password  &#8220;toor&#8221;, and run ifconfig to find out what the IP address of the Virtual Machine is. Then commands can be executed as follows:</p>
<p>plink 192.168.86.128  -l plateau -pw toor xterm -fn 12&#215;24</p>
<p>Where 192.168.86.128 is the IP address I obtained by executing <a href="http://en.wikipedia.org/wiki/Ifconfig">ifconfig</a>, plateau is the name of the remote account and toor is the password. Don&#8217;t forget to set the DISPLAY variable for user &#8220;plateau&#8221; to point to the Xming server.</p>
<p>This version of cl-http has not given me any problems but then I only created an interface to the <a href="http://wordnet.princeton.edu/">Wordnet Lexicon</a> which works fine.</p>
<p>Just for reference here are the important links, user names and passwords mentioned in this post:</p>
<ul>
<li>user: &#8220;root&#8221;, password &#8220;toor&#8221;</li>
<li>user: &#8220;plateau&#8221;, password &#8220;toor&#8221;</li>
<li>cl-http-79-23 source code: (<a href="http://www.mediafire.com/?crfjtfefplp94up" target="_blank">link</a>)</li>
<li>virtual machine: (<a href="http://www.filehosting.org/file/details/182202/cl-http-70-23.7z" target="_blank">link</a>)</li>
</ul>
<div>
<h2>Related articles</h2>
<ul>
<li><a href="http://www.linuxfordevices.com/c/a/News/Mageia-Linux-announced/?kc=rss">Mandriva forks into Mageia Linux</a> (linuxfordevices.com)</li>
<li><a href="http://linux.slashdot.org/story/10/09/18/1437248/Developers-Fork-Mandriva-Linux-Creating-Mageia">Developers Fork Mandriva Linux, Creating Mageia</a> (linux.slashdot.org)</li>
<li><a href="http://nowwhatthe.blogspot.com/2010/09/welcome-mageia.html">Welcome Mageia!</a> (nowwhatthe.blogspot.com)</li>
<li><a href="http://www.cl-http.org:8001/cl-http/ai/projects/iiip/doc/cl-http/server.html">Common LISP Hypermedia Server</a> (cl-http.org:8001)</li>
<li><a href="http://www.gigamonkeys.com/book/practical-an-html-generation-library-the-compiler.html">Practical: An HTML Generation Library, the Compiler</a> (gigamonkeys.com)</li>
<li><a href="http://codebetter.com/blogs/glenn.block/archive/2010/11/01/wcf-web-apis-http-your-way.aspx">WCF Web APIs, HTTP your way</a> (codebetter.com)</li>
<li><a href="http://stackoverflow.com/questions/1275547/how-i-can-do-web-programming-with-lisp-or-scheme">How I Can do web programming with Lisp or Scheme? &#8211; Stack Overflow</a> (stackoverflow.com)</li>
<li><a href="http://lispm.dyndns.org/news?ID=NEWS-2007-11-24-1">History: Applications that were developed on the Symbolics Lisp Machine</a> (lispm.dyndns.org)</li>
</ul>
</div>
<h2>Example 1</h2>
<pre>;;; exporting computed URLs. A. Ritz, 17 April 2001.  Example 1
;;; This example shows how to write a computed url that displays text from a file.
;;; This is probably the simplist web page that you will ever write.
;;; Two functions are provided for displaying text from a file. The first
;;; function calls lisp functions to open and iteratively read and display the
;;; contents of the file. The second function uses the run-program feature and the unix
;;; command cat.

;;; example of the preformated text, &lt;pre&gt;, tag.
(defun Display-File1 (filename stream)
(setq a (open filename))
(loop
(setq str (read-line a nil))
(when (not str) (return))
(write-string "&lt;pre&gt;" stream)
(write-string str stream)
(write-string "&lt;\pre&gt;" stream)
)
)

;;; example of the preformatted text, &lt;pre&gt;, tag.
(defun Display-File2 (str stream)
(write-string "&lt;pre&gt;" stream)
(run-program "cat" (list str) &#058;output stream)
(write-string "&lt;\pre&gt;" stream)
)

;;; example of the paragraph, &lt;p&gt;, tag.
(defun write-paragraph (str stream)
(write-string "&lt;p&gt;" stream)
(write-string str stream)
(write-string "&lt;/p&gt;" stream)
)

;;; a horizontal rule
(defun hr (stream)
(write-string "&lt;HR&gt;")
)

;;; write the HTML for the document body.
(defun Document-Body (str stream)
(html:with-document-body (:stream stream)
(write-paragraph str stream)
(hr stream);
(Display-File1 "test.txt" stream)
(hr stream);
(Display-File2 "test.txt" stream)
(hr stream);
)
)

;;; write the HTML for the whole document.
(defun Document (str stream)
(html:with-html-document (:stream stream)
(html:with-document-preamble (:stream stream)
(html:declare-title str :stream stream)
)
(Document-Body "Testing export of computed url" stream)
)
)

;;; Function Document outputs the following HTML.
;;; &lt;HTML&gt;
;;; &lt;HEAD&gt;
;;; &lt;TITLE&gt;&lt;/TITLE&gt;
;;; &lt;/HEAD&gt;
;;; &lt;BODY&gt;
;;; The HTML output by function Document-Body.
;;; &lt;/BODY&gt;
;;; &lt;/HTML&gt;

;;; Write the web page
(defmethod write-test-page ((url url:http-url) stream)
(http:with-successful-response
(stream
:html
:cache-control       (url:response-cache-control-directives url)
:content-language (url:languages url)
)
(Document "Test Page" stream)
)
)

;;; export the url
(http:export-url #u"/cl-http/test.html"
  :computed
  :response-function #'write-test-page
  :public t
  :language :en)

;;;                 Function index
;;;
;;;    http:with-successful-response
;;;    html:with-html-document
;;;    html:with-document-preamble
;;;    html:declare-title
;;;    html:with-document-body
;;;    http:export-url</pre>
<div><a title="Enhanced by Zemanta" href="http://www.zemanta.com/"></a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webserverdesign.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webserverdesign.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webserverdesign.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webserverdesign.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webserverdesign.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webserverdesign.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webserverdesign.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webserverdesign.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webserverdesign.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webserverdesign.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webserverdesign.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webserverdesign.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webserverdesign.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webserverdesign.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webserverdesign.wordpress.com&amp;blog=3812347&amp;post=36&amp;subd=webserverdesign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webserverdesign.wordpress.com/2010/11/15/cl-http-70-23-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e6e068394bfc29e6ce0a1fa30906f295?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">drewvid</media:title>
		</media:content>

		<media:content url="http://farm1.static.flickr.com/137/321077385_7e222337d3_m.jpg" medium="image">
			<media:title type="html">Mandriva Linux 2007.0</media:title>
		</media:content>
	</item>
		<item>
		<title>CL-HTTP</title>
		<link>http://webserverdesign.wordpress.com/2008/08/06/cl-http/</link>
		<comments>http://webserverdesign.wordpress.com/2008/08/06/cl-http/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 21:10:27 +0000</pubDate>
		<dc:creator>Andrew Ritz</dc:creator>
				<category><![CDATA[web servers]]></category>

		<guid isPermaLink="false">http://webserverdesign.wordpress.com/?p=28</guid>
		<description><![CDATA[CL-HTTP is a full-featured server for the Internet Hypertext Transfer Protocol (HTTP 1.1, HTML 2.0, HTML 3.2 &#38; pre-HTML 4.0) that comes complete with source code. The server has been proven in major production systems and is a component of some interesting applications. Web servers like CL-HTTP are ideal for building Semantic Web applications. One [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webserverdesign.wordpress.com&amp;blog=3812347&amp;post=28&amp;subd=webserverdesign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:justify;"><a href="http://www.ai.mit.edu/projects/iiip/doc/cl-http/home-page.html">CL-HTTP</a> is a full-featured server for the Internet Hypertext Transfer Protocol (HTTP 1.1, HTML 2.0, HTML 3.2 &amp; pre-HTML 4.0) that comes complete with source code. The server has been proven in major production systems and is a component of some interesting <a href="http://www.cl-http.org:8001/cl-http/apps.html">applications</a>.</p>
<p style="text-align:justify;">Web servers like CL-HTTP are ideal for building Semantic Web applications. One such application is, <a href="http://www.racer-systems.com/">RacerPro</a>, which is an OWL reasoner and inference server for the Semantic Web.</p>
<p style="text-align:justify;">For an overview of the design ideas embodied in the CL-HTTP server see the <a href="http://www.ai.mit.edu/projects/iiip/doc/cl-http/server.html">paper</a> by John C. Mallery. </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webserverdesign.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webserverdesign.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webserverdesign.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webserverdesign.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webserverdesign.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webserverdesign.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webserverdesign.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webserverdesign.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webserverdesign.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webserverdesign.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webserverdesign.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webserverdesign.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webserverdesign.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webserverdesign.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webserverdesign.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webserverdesign.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webserverdesign.wordpress.com&amp;blog=3812347&amp;post=28&amp;subd=webserverdesign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webserverdesign.wordpress.com/2008/08/06/cl-http/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e6e068394bfc29e6ce0a1fa30906f295?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">drewvid</media:title>
		</media:content>
	</item>
		<item>
		<title>SBCL,  EMACS, Hunchentoot and Cygwin</title>
		<link>http://webserverdesign.wordpress.com/2008/07/16/8/</link>
		<comments>http://webserverdesign.wordpress.com/2008/07/16/8/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 15:55:26 +0000</pubDate>
		<dc:creator>Andrew Ritz</dc:creator>
				<category><![CDATA[web servers]]></category>

		<guid isPermaLink="false">http://webserverdesign.wordpress.com/?p=8</guid>
		<description><![CDATA[Here are my notes on setting up EMACS and SBCL for windows to work with CYGWIN. Once you have done this you can then install Hunchentoot. Hunchentoot is a web server that works quite well with SBCL. After following these instructions you should have a working lisp web server to play with. Install CYGWIN into [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webserverdesign.wordpress.com&amp;blog=3812347&amp;post=8&amp;subd=webserverdesign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here are my notes on setting up EMACS and SBCL for windows to work with CYGWIN. Once you have done this you can then install Hunchentoot. Hunchentoot is a web server that works quite well with SBCL. After following these instructions you should have a working lisp web server to play with.</p>
<p>Install CYGWIN into <em>c:\cygwin</em> and EMACS and SBCL into <em>c:\home</em>. Before you start cygwin edit your <em>cygwin.bat</em> file. I use the ‘C’ shell so my <em>cygwin.bat</em> file looks like this:</p>
<p><strong> @echo off</strong></p>
<p><strong> C:<br />
chdir C:\cygwin\bin<br />
tcsh -l</strong></p>
<p>Start CYGWIN and  change to the root (‘/’) directory. Delete the existing home directory and create a symbolic link pointing to <em>c:\home</em>. At the SHELL prompt type</p>
<p><strong> rmdir home<br />
ln –s c:\home /home</strong></p>
<p>In your home directory, mine is called VID, edit your <em>.cshrc</em> file and create a <em>.emacs</em> file containing the following:</p>
<p><strong> ;<br />
(setq inferior-lisp-program &#8220;/home/sbcl/sbcl.exe<br />
–core /home/sbcl/sbcl.core&#8221;)<br />
(add-to-list `load-path &#8220;/home/sbcl/slime/&#8221;)<br />
(require &#8216;slime)<br />
(slime-setup)</strong></p>
<p>My <em>.cshrc</em> file looks like this:</p>
<p><strong> alias emacs &#8220;/home/emacs/bin/runemacs.exe&#8221;<br />
set path=($path /home/vid/bin)</strong></p>
<p>In your HOME directory, create a bin directory. Change to this directory and create a file called sbcl containing:</p>
<p><strong> #!/bin/csh<br />
/cygdrive/c/home/sbcl/sbcl.exe &#8211;core c:\\home\\sbcl\\sbcl.core $*</strong></p>
<p>Then at the shell prompt type</p>
<p><strong> chmod +x sbcl; rehash</strong></p>
<p>Now in your bin directory create a file called <em>start-server</em> containing</p>
<p><strong> #!/bin/csh<br />
sbcl &#8211;userinit /home/vid/bin/hunchentoot-test.lisp</strong></p>
<p>The <em>hunchentoot-test.lisp</em> file that you need to create in your bin directory should contain the following:</p>
<p><strong> (require :asdf)</strong></p>
<p><strong> (asdf:oos &#8216;asdf:load-op :hunchentoot)<br />
(asdf:oos &#8216;asdf:load-op :hunchentoot-test)</strong></p>
<p><strong> (hunchentoot:start-server :port 4242)</strong></p>
<p>You also need to edit the file <em>c:\home\emacs\site-lisp\site-start.lisp</em>. Mine contains just one line:</p>
<p><strong> (setenv &#8220;HOME&#8221; &#8220;c:\\home\\vid\\&#8221;)</strong></p>
<p>Download and install the following packages into <em>c:\home\sbcl</em>:</p>
<p><strong> cffi<br />
cffi-examples<br />
cffi-tests<br />
chunga<br />
cl+ssl (see below)<br />
cl-base64<br />
cl-fad<br />
cl-ppcre<br />
cl-wh<br />
flexi-streams<br />
hunchentoot<br />
hunchentoot-test<br />
md5<br />
rfc2388<br />
slime<br />
trivial-gray-streams<br />
url-rewrite</strong></p>
<p>You can download these packages from <a href="http://www.cliki.net/index">cliki</a>. Put each of the downloaded packages into <em>c:\home\sbcl</em> and them just type</p>
<p><strong> tar -xvzf &lt;package-name.tar.gz&gt;<br />
</strong></p>
<p>You will need a different copy of <em>cl+ssl</em>. You can download <em>cl+ssl</em> from <a href="http://www.mediafire.com/?r4x2bz41tm4">here</a>. I made some minor changes to the original package so that the correct libraries are loaded by cffi. These libraries, libssl32.dll and libeay32.dll are included in the gzipped tar file clssl.tar.gz.</p>
<p>You will have to create the directories, <em>cffi-examples, cffi-tests and hunchentoot-test</em>, yourself. For simplicity I just copied <em>cffi </em>to <em>cffi-test</em> and to <em>cffi-examples.</em> Likewise I copied <em>hunchentoot</em> to <em>hunchentoot–test.</em> From a CYGWIN shell just type</p>
<p><strong> cd /home/sbcl<br />
cp –r cffi cffi-test<br />
cp –r cffi cffi-examples<br />
cp –r hunchentoot hunchentoot-test</strong></p>
<p>Now you can do the following:</p>
<p>1)	start cygwin and at the shell prompt type <em>start-server</em>. This will start hunchentoot. Point your browser at<em> http://localhost:4242/</em></p>
<p>2)	run emacs with sbcl as the inferior-lisp-program. When emacs has started type M-x slime.  Sbcl should start.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webserverdesign.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webserverdesign.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webserverdesign.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webserverdesign.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webserverdesign.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webserverdesign.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webserverdesign.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webserverdesign.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webserverdesign.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webserverdesign.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webserverdesign.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webserverdesign.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webserverdesign.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webserverdesign.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webserverdesign.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webserverdesign.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webserverdesign.wordpress.com&amp;blog=3812347&amp;post=8&amp;subd=webserverdesign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webserverdesign.wordpress.com/2008/07/16/8/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e6e068394bfc29e6ce0a1fa30906f295?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">drewvid</media:title>
		</media:content>
	</item>
		<item>
		<title>Web Server Design</title>
		<link>http://webserverdesign.wordpress.com/2008/05/25/hello-world/</link>
		<comments>http://webserverdesign.wordpress.com/2008/05/25/hello-world/#comments</comments>
		<pubDate>Sun, 25 May 2008 08:17:49 +0000</pubDate>
		<dc:creator>Andrew Ritz</dc:creator>
				<category><![CDATA[web servers]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[LISP is an ideal tool for developing Semantic Web Applications. On the server side there are two Web Servers that stand out. The first is CL-HTTP, described elsewhere on this blog. The second is Portable AllegroServe (AServe) from Franz Inc. AServe is an open source tool that runs on many platforms. AServe has these components: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webserverdesign.wordpress.com&amp;blog=3812347&amp;post=1&amp;subd=webserverdesign&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>LISP is an ideal tool for developing Semantic Web Applications. On the server side there are two Web Servers that stand out. The first is CL-HTTP, described elsewhere on this blog. The second is Portable AllegroServe (<strong>AServe</strong>) from Franz Inc. AServe is an open source tool that runs on many platforms. <strong>AServe</strong> has these components:</p>
<ul>
<li>HTTP/1.1 compliant web server capable of serving static and dynamic pages</li>
<li>HTML generation facility that seamlessly merges html tag printing with computation of dynamic content. The HTML generator matches perfectly with the HTML parser (which is in another project) to allow web pages to be read, modifed in Lisp and then regenerated.</li>
<li>HTTP client functions to access web sites and retrieve data.</li>
<li>Secure Socket Layer (SSL) for both the server and client.</li>
<li>Web Proxy facility with a local cache.</li>
<li>Comprehensive regression test suite that verifies the functionality of the client, server, proxy and SSL</li>
<li>high performance for static and dynamic web page delivery</li>
<li>Licensed under terms that ensure that it will always be open source and that encourages its use in commercial settings.</li>
<li>A new publish function that builds a page from static and dynamic data and handles caching of the result.</li>
<li>Access control mechanisms for publishing directories that gives the webmaster the ability to specify which files and directories in the tree should be visible.</li>
<li>The ability to run external CGI programs.</li>
<li>An improved virtual hosting system that supports different logging and error streams for each virtual host.</li>
</ul>
<p>If you would like to experiment with <strong>AServe</strong> I suggest you download and install &#8220;LISP in a Box&#8221; (<a href="http://gigamonkeys.com/book/lispbox/">Lispbox</a>). When you are developing server side applications you will probably want to install <a href="http://agraph.franz.com/">AllegroGraph</a> from Franz Inc., as well.</p>
<p><strong>Lispbox</strong> contains:</p>
<ul>
<li>Emacs, the powerful, customizable text editor</li>
<li>A Common Lisp implementation of your choosing</li>
<li>SLIME, the Superior Lisp Integration Mode for Emacs</li>
<li>ASDF, Another System Definition Facility, used to load Common   Lisp libraries.</li>
<li>The practical code   from <em><a href="http://www.gigamonkeys.com/book/">Practical Common   Lisp</a></em> ready to be loaded using ASDF.</li>
<li>Some glue code to make it all a bit easier to use.</li>
</ul>
<p><strong>AllegoGraph</strong> is &#8220;capable of processing billions of RDF triples, and is a modern, high-performance, persistent, disk-based RDF graph database with support for SPARQL, RDFS++, and Prolog reasoning from Java applications. The new features of version 3.0 form a unified &#8220;Activity Recognition&#8221; package for flexibly analyzing networks and events in large volumes of structured and unstructured data.&#8221;</p>
<p>For futher information about developing applications read the book &#8220;<a href="http://www.ics.forth.gr/isl/swprimer/">A Semantic Web Primer&#8221;</a>. Web Programming with <strong>AServe</strong> can be read about <a href="http://gigamonkeys.com/book/">here</a>.</p>
<p style="text-align:justify;">
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/webserverdesign.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/webserverdesign.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webserverdesign.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webserverdesign.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webserverdesign.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webserverdesign.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webserverdesign.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webserverdesign.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webserverdesign.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webserverdesign.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webserverdesign.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webserverdesign.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webserverdesign.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webserverdesign.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webserverdesign.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webserverdesign.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webserverdesign.wordpress.com&amp;blog=3812347&amp;post=1&amp;subd=webserverdesign&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webserverdesign.wordpress.com/2008/05/25/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e6e068394bfc29e6ce0a1fa30906f295?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">drewvid</media:title>
		</media:content>
	</item>
	</channel>
</rss>
