Re: Thoughts on mod_lisp
From: Andras Simon (asimon_at_math.bme.hu)
Date: 10/09/04
- Next message: Christopher Browne: "Re: LISP is dead now ! ! !"
- Previous message: Arthur Lemmens: "Re: event handler and graphical output"
- In reply to: Ari Johnson: "Re: Thoughts on mod_lisp"
- Next in thread: Ng Pheng Siong: "Re: Thoughts on mod_lisp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 09 Oct 2004 18:12:01 +0200
iamtheari@gmail.com (Ari Johnson) writes:
> Andras Simon <asimon@math.bme.hu> wrote in message news:<vcdu0t45mkx.fsf@csusza.math.bme.hu>...
> > iamtheari@gmail.com (Ari Johnson) writes:
> >
> > > Andras Simon <asimon@math.bme.hu> wrote in message news:<vcdy8ih5xip.fsf@csusza.math.bme.hu>...
> > But now I see that you meant PHP/JSP-like templates. In that case, you
> > could give aserve/webaction's clp a try. From the doc:
>
> That's one idea I'm pursuing. The idea there is that the majority of
> content is large blobs of text with occasional formatting. Wikis
> operate under this principle (by concentrating on the text and
> simplifying the formatting instructions) along with the principle that
> there is a direct relationship between the number of monkeys at the
> keyboard and the probability of recreating Shakespeare.
>
> What I really want is:
> 1. Partitioning between projects - with PHP I just write
> directory-portable code and put each project in its own directory
See the destination argument of webaction-project.
> 2. Partitioning between users - although less important since I will
> most likely be the only user writing Lisp-powered web pages on my
> server, it'd be nice to create separate users from my own account and
> use them to separate projects (this is not essential, just a
> nice-to-have thing)
If you really want this, I'm sure you'll be able to come up with a
scheme that works for you, no matter what approach (mod_lisp or
aserve) you use.
> 3. Seamless integration with rest of site - I still have PHP
> applications, and my resume is still an XSLT application; being able
> to run parts of my site with Lisp without having a crazy URL scheme in
> which all Lisp is relegated to a particular URL namespace
> (http://server/lisp/...) is essential
I'm afraid you'll have to deal with this problem even if you use
mod_lisp. I'm no apache guru (far from it!) but I think mod_rewrite is
your friend.
> 4. Good template language - I've seen some pretty bad template
> languages; also, writing templates in HTML and then inserting active
> template code makes more sense to me, as it is far easier to prototype
> HTML with a static file than it is if you have to recompile and reload
> after every change before you can see the changes
This is a very respectable opinion which I happen not to share. M-C-x is
just as easy as C-x C-s, and I find writing lhtml easier than writing
html. (Designers may not agree; but there's always phtml which will
parse their pages to lhtml. Though I must admit I've never tried this
approach.) But have a look at clp and see if you like it.
>
> > And if you want static pages to be served by Apache, you can put
> > aserve behind Apache via mod_proxy or mod_rewrite (or whatever it's
> > called) and do that. I have a site with this setup (no clp though),
> > and it has gathered a few million hits in the past 18 month or so with
> > no problems. My only (minor) gripe with it is that aserve doesn't see
> > where a request is really coming from.
>
> It's mod_proxy, which I haven't used before. See requirement 3 above
> for my reasoning against this approach.
See my reply to it.
>
> On a side note: Man, do I wish I still had access to a good Usenet
> server so I could post with less delay.
:-(
Andras
- Next message: Christopher Browne: "Re: LISP is dead now ! ! !"
- Previous message: Arthur Lemmens: "Re: event handler and graphical output"
- In reply to: Ari Johnson: "Re: Thoughts on mod_lisp"
- Next in thread: Ng Pheng Siong: "Re: Thoughts on mod_lisp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|