开发者

Selected tech. stack for web application - criticism / comments?

开发者 https://www.devze.com 2023-03-13 13:11 出处:网络
I\'m about to build my first serious Lisp-based project: a web application that will need to scale to tens of thousands of users (not concurrently - probably hundreds, at most, concurrently).

I'm about to build my first serious Lisp-based project: a web application that will need to scale to tens of thousands of users (not concurrently - probably hundreds, at most, concurrently).

The stack I'm intending to use looks like:

  • Weblocks web framework with a BerkeleyDB back-end
  • Elephant object database
  • Steel开发者_运维百科 Bank Common Lisp (SBCL)
  • Ubuntu Server (10.04 LTS)

I have two areas of concern re. this stack:

  • Is Elephant dead? The latest release is getting on for three years old ... which could just mean that it's stable I guess :-)

  • As a relative newcomer to Lisp (but with significant RoR & ASP.NET experience) are any of those technologies likely to melt my head?

Feedback on my choices, & suggestions of alternatives, would be appreciated.


Elephant is effectively unmaintained. It does not work on current SBCL and the patch to fix the issue has not been applied. It's possible that someone else might pick up the development but it's not clear in the short term if that will happen. Some people use Rucksack as an object store, and bknr-datastore is also interesting.

Ubuntu is fine, but don't use Ubuntu Lisp packages; it's better to get SBCL from www.sbcl.org and libraries via Quicklisp. Because of that, almost any Linux will work equally well. I use Debian for my Lisp-powered website.


Weblocks is a continuations-based web framework - it is a very old approach, it should not be used for developing modern web-applications.


If you don't mind using PostgreSQL for persistence, you should check out Postmodern.


I have tried Weblocks, and i have made a simple web app also. But when i want to write a more complicated app, i found Weblocks is too limited. It lead user to write more widgets, but i suppose widgets cannot solve all web UI problem. I even read 80% source codes of Weblocks. But .... finally i decided to change another Web framework. What i really need, i suppose, is a url routing library like Ruby on Rails, Restas is fine. I tried it, and i wrote a blog library which support themes like WordPress using Restas. Restas is easier than Weblocks, but more powerful in my opinion.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号