Re: Hunchentoot for production use and more questions...
- From: "Chris Khoo" <cookie@xxxxxxxxxxxxxx>
- Date: Sun, 22 Jul 2007 11:04:41 +1000
Wow thanks mac, this post should be framed up for web dev lisp newbs :-)
Thanks again!
Chris
"mac" <emailmac@xxxxxxxxx> wrote in message
news:1184790742.807304.39260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm usually used to files in directory structures, with each file
representing a page on the website (e.g. php, asp, etc.). Is there a
way to make it so that Hunchentoot can look at a folder structure,
evaluate lisp files and return other files like images as is - like
Apache, etc... or am I asking too much?
There're a lot of alternatives here:
http://www.cliki.net/web
cl-emb, html-template, lsp, etc
Or maybe, am I missing some
paradigm shift in website development here?
I'd say yes. If you are a one man shop and are not working with a
graphics/html/css designer, you probably don't want to use any html
template system.
You mentioned that you're reading PCL. I think Peter has demonstrated
that CL-FOO (html in sexp) is much more nicer to work with than plain
HTML. You can find other similar libraries like CL-WHO in the above
link.
Of course, if you have already invested $$$ in tools like dreamweaver
then it might be a different story. You need to figure out which path
will save you most time.
For most lispers sexp + macro is the ultimate secret weapon to getting
things done faster than anyone else.
3. Is SBCL 1.0.6 Windows really that bad? Does anyone out there
develop on the same environment?
I was originally using clisp but I need database access, and clsql
seems to be the only lisp package that does that... and it needs uffi,
which isn't supported by clisp.
(btw, if my creation ever goes to production in Lisp, I'll definitely
use a Linux box... so no Windows jokes plz... I need it for other dev
stuff)
When I started out I was also trying to setup a development
environment in windows and plan to migrate stuff to production (linux)
later.
This turns out to be a big time waster.
Hunchentoot (or whatever web server that you pick) is just part of the
story. Like you mentioned, you also need cl-sql. And by tonight you'll
find a dozen of cool libraries from cliki that you want to use.
Here's a partial list of stuff that I find useful in web projects
(#:arnesi
#:cl-fad
#:cl-interpol
#:cl-pdf
#:cl-smtp
#:cl-typesetting
#:cl-who
#:drakma
#:elephant
#:hunchentoot
#:iterate
#:json
#:kmrcl
#:net-telent-date
#:rfc2388
#:s-xml
#:lsp
#:split-sequence
#:ironclad)
Now the fun begins - you need to visit every project's homepage and
devel mailing list and find out how to set it up in windows + your
lisp. And then you also need to do the same in linux + your production
lisp.
That'll take a while before you can write a single line of code :)
And truth to be told, most of the library hackers use linux/macosx. So
90% of the time it's very straight forward to get it working in linux.
Just get a spare computer to run linux. Or if you are on the go a lot
like myself, get vmware server (free) and install linux on it (memory
upgrade is cheap nowadays).
4. Are there any good alternative lisp based web servers worthy of my
consideration?
Yes, again, check the cliki link. But I can tell you that hunchentoot
probably has the most active user base and since you're starting out,
you might find it a lot easier to get help from its mailing list than
other web frameworks.
HTH,
-- Mac
.
- References:
- Prev by Date: Re: New Computer Language Shootout?
- Next by Date: Recompiling SBCL from source for Windows
- Previous by thread: Re: Hunchentoot for production use and more questions...
- Next by thread: Re: Hunchentoot for production use and more questions...
- Index(es):
Relevant Pages
|