New library: cl-php
New library: cl-php
I've been promising this for ages, so it's time I got off my butt and published it. Partly, I've been stung into action by Gary King's post: http://metabang.com/unclogit/?p=389
The idea is to abstract away some of the lower-level stuff, so that writing web applications in Common Lisp can become as easy as writing them in PHP, which is currently a fair and valid criticism.
So far, it's been driven entirely by what's needed by the sites I've been writing, so it's only guaranteed to work on SBCL on Linux. There's an awful lot of error-resistance that needs adding, and it's currently totally without documentation or examples, but it's a start and you're welcome to play with it if you wish. It's under the LLGPL; while I'm willing to listen to arguments as to why that should be changed to, say, the BSD license, I'm very keen on the idea of the code staying free.
It's available from: http://www.electronic-quill.net/lisp/
The idea is to abstract away some of the lower-level stuff, so that writing web applications in Common Lisp can become as easy as writing them in PHP, which is currently a fair and valid criticism.
So far, it's been driven entirely by what's needed by the sites I've been writing, so it's only guaranteed to work on SBCL on Linux. There's an awful lot of error-resistance that needs adding, and it's currently totally without documentation or examples, but it's a start and you're welcome to play with it if you wish. It's under the LLGPL; while I'm willing to listen to arguments as to why that should be changed to, say, the BSD license, I'm very keen on the idea of the code staying free.
It's available from: http://www.electronic-quill.net/lisp/
-
- Posts: 148
- Joined: Wed Jul 30, 2008 11:26 pm
Re: New library: cl-php
What relationship does it have to PHP?
Re: New library: cl-php
The domain of web application development, and (in intention, at least) the ease of getting started, particularly wrt database connectivity. Beyond that, nothing whatsoever.Paul Donnelly wrote:What relationship does it have to PHP?
Methinks a name-change is in order; suggestions will be welcomed

-
- Posts: 148
- Joined: Wed Jul 30, 2008 11:26 pm
Re: New library: cl-php
What I thought. How about LHP (LHP Hypertext Preprocessor)?JamesF wrote:The domain of web application development, and (in intention, at least) the ease of getting started, particularly wrt database connectivity. Beyond that, nothing whatsoever.Paul Donnelly wrote:What relationship does it have to PHP?

It's great to see a modern library ecosystem appearing around CL.
Re: New library: cl-php
Woah woah hey woah!
What about CL-ROR?
If you are looking for a recursive acronym as proposed above, how about CL-LNP (LNP is no PHP)?
What about CL-ROR?

If you are looking for a recursive acronym as proposed above, how about CL-LNP (LNP is no PHP)?
Re: New library: cl-php
I'd go for that if I were mixing lisp in with HTML markup, but that's more what CL-EMB (http://common-lisp.net/project/cl-emb/) does. I haven't tried that library yet, but it could well be feasible to add it to this one and get something that lived up to the name LHP much more closely.Paul Donnelly wrote:How about LHP (LHP Hypertext Preprocessor)?
Re: New library: cl-php
Oddly enough, I'm vaguely tempted to head in that direction; could be an interesting counterpoint to Lisp on Lines.mijokijo wrote:What about CL-ROR?
If you are looking for a recursive acronym as proposed above, how about CL-LNP (LNP is no PHP)?[/quote]mijokijo wrote:What about CL-ROR?
That could work, though I honestly do think the world is amply supplied with recursive acronyms.
I'm actually tempted to follow in the traditions of Napster and Bibble, and name it Elizabeth, after one of our cats (I've already split out two separate libraries called Edgar and Oscar in the same way).