From: Alex Mizrahi
Subject: lisp web dev
Date: 
Message-ID: <bkq3n9$4j2k5$1@ID-177567.news.uni-berlin.de>
Hello, All!

we're going to do some web development, and Common Lisp can be development
language.
it will be our university site. it's not some experimental thing, but it's
not also a commercial project. it will be very dynamic site, with forums,
chats, polls, customizable UI etc. so i think we need connection to some SQL
server(e.g MySQL).

actually we were going to do it in PHP(we have some experience of PHP
development), or Perl, Java, but since I like Lisp a lot(but unfortunately
have no experience in it), it can be an option.

we need to show at least some results very soon. and i have to show some
lisp web dev examples just tommorrow to prove that lisp is suitable for web
dev.
there are lots of ways doing this, as i understand, and i'll greatly
appreciate if somebody will share his experience of building real lisp web
systems.
we already have Apache and MySQL servers running on Linux server, so
solutions based on them are preffered, but if somebody will show alternative
scheme that are more efficient we can use it.
development environment is also very important thing. the strongest argument
versus PHP is development model - constant write-save-launch cycle is
boring. i hope Lisp can show significantly other model, but have no clue how
can it look like.. can xemacs(most likely running on win32)/ilisp somehow
connect to lisp running on web server to develop/debug programs in same
environment as they work? hope somebody will explain how it works..

and i want to show at least something just tommorrow. i think i'll not be
able to deploy CMUCL fast in uniresity, but i have Corman Lisp(win32)
already installed(using rk compressor i was able to make whole Lisp distrib,
including ide on one floppy). so, what is most impressive thing i can do in
Corman Lisp? please answer asap.

With best regards, Alex Mizrahi.

From: Peter Seibel
Subject: Re: lisp web dev
Date: 
Message-ID: <m3y8wfgw1v.fsf@javamonkey.com>
"Alex Mizrahi" <···@matfak.dongu.donetsk.ua> writes:

> and i want to show at least something just tommorrow. i think i'll
> not be able to deploy CMUCL fast in uniresity, but i have Corman
> Lisp(win32) already installed(using rk compressor i was able to make
> whole Lisp distrib, including ide on one floppy). so, what is most
> impressive thing i can do in Corman Lisp? please answer asap.

You might want to ask on the lispweb mailing list (which is also
accessible via GMANE[1])

[1] <http://news.gmane.org/gmane.lisp.web>

-Peter

-- 
Peter Seibel                                      ·····@javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp
From: Eduardo Muñoz
Subject: Re: lisp web dev
Date: 
Message-ID: <87zngvw49a.fsf@terra.es>
* "Alex Mizrahi" <···@matfak.dongu.donetsk.ua>
[...]
| we need to show at least some results very soon. and i have to show some
| lisp web dev examples just tommorrow to prove that lisp is suitable for web
| dev.

Take a look at

http://lisp.t2100cdt.kippona.net/lispy/home

to see how to setup something like what you want.


| ... can xemacs(most likely running on win32)/ilisp somehow
| connect to lisp running on web server to develop/debug programs in same
| environment as they work? hope somebody will explain how it works..

I use a small trick. You must have ilisp installed at both
places and be able to log without using a password (use
ssh-agent or Pageant.exe). You will have to install
attachtty on the server too.


(defun attach-remote-cmulisp ()
  (interactive)
  (let* ((connect-program (cond ((eq system-type 'windows-nt)
                                 "c:/Programs/PuTTy/plink.exe")
                                ((eq system-type 'gnu/linux)
                                 "ssh")))
         (cmulisp-program (format "%s ··@example attachtty /home/emf/dtty/cmulisp.socket"
                                  connect-program)))
    (cmulisp)))


-- 
Eduardo Mu�oz          | (prog () 10 (print "Hello world!")
http://213.97.131.125/ |          20 (go 10))
From: Tim Lavoie
Subject: Re: lisp web dev
Date: 
Message-ID: <8765jim9sz.fsf@theasylum.dyndns.org>
>>>>> "Eduardo" == Eduardo Mu�oz <······@terra.es> writes:

    Eduardo> I use a small trick. You must have ilisp installed at
    Eduardo> both places and be able to log without using a password
    Eduardo> (use ssh-agent or Pageant.exe). You will have to install
    Eduardo> attachtty on the server too.


Hi Eduardo,

I'm not the original poster, but I do like how your suggestion (and
example) work. One thing though tends to be a nuisance. When I use the
attachtty program to connect to a running lisp, I now have visible
carriage returns stuck on the end of each line. Do you know of a nice
way to get rid of them? Everything still works, but it is rather
irritating to read.

This is from Linux by the way, so the carriage returns aren't in the
normal line-ending.

  Cheers,
  Tim

-- 
A computer without COBOL and Fortran is like a piece of chocolate cake
without ketchup and mustard.
From: Eduardo Muñoz
Subject: Re: lisp web dev
Date: 
Message-ID: <873cel53fi.fsf@terra.es>
* Tim Lavoie <········@spamcop.net>
| I'm not the original poster, but I do like how your suggestion (and
| example) work. One thing though tends to be a nuisance. When I use the
| attachtty program to connect to a running lisp, I now have visible
| carriage returns stuck on the end of each line. Do you know of a nice
| way to get rid of them? Everything still works, but it is rather
| irritating to read.
| 
| This is from Linux by the way, so the carriage returns aren't in the
| normal line-ending.


I have no idea of what may cause this. I get carriage
returns in the dribble file, but no in the inferior lisp
buffer or using attachtty directly.

Maybe you could mess with emacs coding system. Something
like:

(modify-coding-system-alist 'process "lisp" 'unix)


-- 
Eduardo Mu�oz          | (prog () 10 (print "Hello world!")
http://213.97.131.125/ |          20 (go 10))
From: Tim Lavoie
Subject: Re: lisp web dev
Date: 
Message-ID: <87r825vggs.fsf@theasylum.dyndns.org>
>>>>> "Eduardo" == Eduardo Mu�oz <······@terra.es> writes:

    Eduardo> I have no idea of what may cause this. I get carriage
    Eduardo> returns in the dribble file, but no in the inferior lisp
    Eduardo> buffer or using attachtty directly.

    Eduardo> Maybe you could mess with emacs coding system. Something
    Eduardo> like:

    Eduardo> (modify-coding-system-alist 'process "lisp" 'unix)

Hi Eduardo,

I do see them within the inferior lisp buffer, but not when using
attachtty directly. I suspect that it's related to terminal-type
behaviour.

In any case, I'll see what I can find.

  Thanks,
  Tim

-- 
Of course power tools and alcohol don't mix.  Everyone knows power
tools aren't soluble in alcohol...
                -- Crazy Nigel
From: Tim Lavoie
Subject: Re: lisp web dev
Date: 
Message-ID: <87n0ctv4o4.fsf@theasylum.dyndns.org>
>>>>> "Eduardo" == Eduardo Mu�oz <······@terra.es> writes:

    Eduardo> Maybe you could mess with emacs coding system. Something
    Eduardo> like:

    Eduardo> (modify-coding-system-alist 'process "lisp" 'unix)

Excellent! What I actually did was put 	 

   (coding-system-for-read 'us-ascii-dos)

inside the let* statement you had used, so that it alters the coding
system just for this buffer. Finally, I can lose the damn ^M line
endings all over the place.

  Thanks, (to Dan too)
  Tim

-- 
"There are two things that are infinite: the universe and human
stupidity, and I'm not so sure about the universe."
                                        -- Albert Einstein
From: Paolo Amoroso
Subject: Re: lisp web dev
Date: 
Message-ID: <87y8we1gw1.fsf@plato.moon.paoloamoroso.it>
"Alex Mizrahi" <···@matfak.dongu.donetsk.ua> writes:

> we need to show at least some results very soon. and i have to show some
> lisp web dev examples just tommorrow to prove that lisp is suitable for web
> dev.

Have a look at:

  http://www.cliki.net
  http://alu.cliki.net
  http://mcclim.cliki.net

You get the picture...


Paolo
-- 
Paolo Amoroso <·······@mclink.it>