关于 Rebol 语言的介绍,请查阅《开发高手》上蔡学镛的连载。在 2004 《程序员》合订本中有全部的。
官方网站:
http://www.rebol.com
mailing list:
http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-month-index.r?month=200412
FAQ:
http://www.rebol.com/faq.html
CodeBook:
http://www.rebol.net/cookbook/
how-to:
http://www.rebol.com/how-to.html
还有更多的资源自己用 google 搜。
废话不多说。前天我开始对照蔡老师的教程学 Rebol, 花了一两天大致看完了整个连载文章。
今天到网站上的 how-to 栏目里看到这篇:
Quick and Easy CGI - A Beginner's Tutorial and Guide
http://www.rebol.com/docs/cgi1.html
标题上说的很 easy , 实际上并非那么 easy
主要是文章只从总体的角度上讲述大致该如何做配置,并未涉及到具体平台上的操作。 而我使用的是 windows 2000 + IIS, 从未写过 CGI, 更是困难重重。
查了一堆资料,翻看了 mailing-list 里面很多旧贴子, 总算试成功了我的第一个 CGI 程序 :)
程序如下:
rebol [title: "server time"]
print {Content-Type: text/html^

