Web Programmig with Scheme
By Herve Verjus on Wednesday, December 13 2006, 23:12 - Computing - Permalink
There are some web sites that are dedicated on that topic. You can read the following among other:
- http://download.plt-scheme.org/doc/360/pdf/web-server.pdf
- http://docs.plt-scheme.org/web-server/web-server.html
- http://www.cs.brown.edu/courses/cs173/2005/Assignments/pltweb.shtml
- http://www.ccs.neu.edu/home/matthias/Presentations/ILC.ppt
- http://www.double.co.nz/scheme/modal-web-server.html
Briefly (I suggest you have already installed PLT Scheme):
on unix (or MacOSX) machines, open a xterm and go to the PLT Scheme installation location (i.e. /your-path/PLT Scheme)
go to the binaries location
cd bin/
start the Scheme web server:
sudo ./web-server -p 8080&
- Some Scheme servlets examples are in /your-path/PLT SCheme/collects/web-server/default-web-root/servlets/examples/
- Open a web browser and test your Scheme web server http://localhost:8080/
- Then, you can run a servlet example: http://localhost:8080/servlets/examples/add.ss
- You can develop your own servlets and run them (http://localhost:8080/servlets/your-servlets-path/your-script.ss).