I vote for more details on your simple web server in SwiftForth. It
would be an interesting example, if nothing else.
-----Original Message-----
From: Rick VanNorman [SMTP:rick_at_neverslow.com]
Sent: Wednesday, March 28, 2001 9:10 AM
To: sftalk_at_forth.com
Subject: [sftalk] Re: Forth server
The issues, in no particular order, are:
1. Forth, in general, can be used as a CGI scripting language.
All it needs is to be able to read/write stdio. To use Forth
as a CGI language requires nothing more than
having a web server on the same computer as a version of Forth
that you want to use. For SwiftForth, that computer would have
to be a PC running Windows. There are many webservers for
the PC/Windows.
2. To actually use Forth for an embedded scripting language
like PHP would require integration of the Forth into the actual
web server itself. There is a mechanism for this, but it doesn't
work very well on the Windows web servers; works really well on
*nix web servers, but I don't know the mechanism.
3. I have written a very simple web server in SwiftForth. This
would be a fun place to play. It would provide, with a little
more work than I have currently invested, a web server whose
pages could do server-side scripting in Forth. Might be very
interesting. But the owner of the system would have to be nuts
to let Joe Blow put up a web page with a Forth program in it.
Did I leave anything out?
Which one is the most interesting?
Rick
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email
list
To unsubscribe, send subject "unsubscribe sftalk" to
listar_at_forth.com
For help with listar commands, send subject "help" to
listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them
out!
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/sftalk -- check them out!
Received on Wed Mar 28 2001 - 12:05:05 PST
Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!
This archive was generated 08-Feb-2012. Archive updated nightly.