Launch a site on the Scheme

I can’t find it on Google (therefore, it probably doesn’t exist), but I basically'd wanted to install something on the web server so that I can run the site on the diagram, PHP starts to annoy me, I want to get rid of it , I want:

  • Execute circuit source code for UTF-8 (duh) output
  • Support for SXML, SXLT and so on, I plan to compose a damn in SXML and → for a normal presentation at the end.
  • The ability to read other files from the server, write them, set permissions, etc.
  • Also, some things, for example, determine the size of files, the height of images, mime types and all that mumbo-jumbo
  • (optional) connect to the database, but for what I want to save, the full database in S-expressions is perfectly valid

I don’t need any fancy library and other things that come with it, like CMS'es and nothing but SXML support, but I’m sure that I can just find a library for this anyway that I can download.

+7
scheme
source share
6 answers

Spark-Scheme has a complete web server. If you don't need it, it also has a FastCGI interface so you can serve Scheme scripts from web servers like Apache, Lighttpd, etc. Spark-Scheme also seems to meet your requirements for database support, UTF-8, file processing, and SXML. See the Spark Circuit Programming Guide (pdf) for more information.

+2
source share

mod_lisp and FastCGI are just two Apache modules that I know of that can work at this time. mod_lisp provides schema support because the architecture is similar to FastCGI, where CGI parameters like parameters are passed through a socket to a second process that remains running as the backend of the schema on the web server. Basically, you use one or the other to send CGI-like parameters via a socket to the executable server of the circuit.

You can find information about these solutions here . There was another FastCGI effort called SCGI that demonstrated a simple Scheme SCGI receiver called a gambit. This code is probably no longer supported, but a receiver circuit may be useful.

Back in Apache 2.0 days, there were more projects playing with circuitry and clips. I do not believe that mod_scheme has ever released anything, but if they did, then it is incompatible with modern releases of Apache.

+2
source share
+1
source share

If you are looking for a lispy language for developing web applications, I would recommend looking at Clojure . Clojure is a variant of lisp that is close to a circuit; here is a list of some differences.

Clojure runs on a Java virtual machine and integrates well with Java libraries, and there is an available webapp system called Compojure .

+1
source share

Check out Chicken Scheme Eggs without limits . I think what you want is a combination of sxml packages along with a fastcgi package.

+1
source share

PLT Scheme has a web application server: http://docs.plt-scheme.org/web-server/index.html

+1
source share

All Articles