如何使用Lisp或Scheme进行网络编程? [英] How can I do web programming with Lisp or Scheme?

查看:134
本文介绍了如何使用Lisp或Scheme进行网络编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通常用PHP,Ruby或Perl编写Web应用程序.我正在开始研究Scheme,我想尝试使用这种语言的一些Web项目.但是我找不到最佳的环境.

I usually write web apps in PHP, Ruby or Perl. I am starting the study of Scheme and I want to try some web project with this language. But I can't find what is the best environment for this.

我正在寻找以下功能:

  • 获取请求参数的简单方法(类似:get-get#key,get-post#key,get-cookie #key).
  • Mysql访问.
  • HTML表单生成器,处理程序,验证器等.
  • 用于过滤用户输入数据(例如htmlentity,用于转入查询的转义变量等)的助手.
  • 牙线.
  • 和GNU/Linux友好.

因此,在此先感谢所有答复.

So, thanks in advance to all replies.

推荐答案

球拍具有您所需的一切.请参见Racket网络服务器教程,然后再 PLaneT (球拍包分发工具).

Racket has everything that you need. See the Racket web server tutorial and then the documentation. The web server has been around for a while, and it has a lot of features. Probably the only thing that is not included is a mysql interface, but that exists as a package on PLaneT (Racket package distribution tool).

更新:Racket现在提供数据库支持,可与包括mysql在内的多个数据库一起使用.

UPDATE: Racket now comes with DB support, works with several DBs including mysql.

这篇关于如何使用Lisp或Scheme进行网络编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆