[REBOL] Re: Cal =?iso-8859-1?Q?Dixon=B4s?= webserver
From: btiffin::rogers::com at: 12-Jul-2007 14:41
Cal's :[ ]: sequence uses the *result* of the expression, you don't need the
print function. :[ "hello world!" ]: will do what you want, inserting the
string into the webpage. print is a funny function to get used to when
learning REBOL. The print function returns **no result** or unset! in REBOL
speak. It is designed that way so that print expressions can be inserted
into code, produce output to the console, but not overly influence the
So the cool bit with Cal's code is for stuff like :[ reform ["Hey"
name "Welcome to my fantabulous website"] ]: Once you've snagged name from a
cgi script form processor. Or the ubiquitous :[ now/date ]: to get the
current date or :[ reform ["You are visitor" read %hitcount.r] ]: for hit
Not to disrespect Cal's cool webserver, you may want to check out Cheyenne, a
very complete and well supported web server by DocKimbel. The Doc has been
doing some great work and I use his nifty code to run my web hosting service.
http://softinnov.org Keep an eye on this site, as Doc just hinted that a full
release of version 1.0 is on the visible horizon.
On Thursday 12 July 2007 14:03, Carlos Lorenz wrote: