emacs.d/clones/lisp/www.cliki.net/mod_ecl.html
2022-10-07 15:47:14 +02:00

55 lines
No EOL
4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CLiki: mod_ecl</title>
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
href="https://www.cliki.net/site/feed/article.atom?title=mod_ecl">
<link rel="stylesheet" href="static/css/style.css">
<link rel="stylesheet" href="static/css/colorize.css">
</head>
<body>
<span class="hidden">CLiki - mod_ecl</span>
<div id="content"><div id="content-area"><div id="article-title">mod_ecl</div><div id="article">mod_ecl is an apache module to use lisp in the way php is used for website scripting.<p>There are various ways to use lisp as <a href="web.html" class="category">web</a> scripting language. One solution is to use mod_proxy with <a href="hunchentoot.html" class="internal">hunchentoot</a>. The other solution is to use <a href="mod_lisp.html" class="internal">mod_lisp</a> with <a href="cl-modlisp.html" class="internal">cl-modlisp</a>.
The problem with these implementations is that you can not just upload your code to the webserver and visit the link. There are additional steps required, like loading the written files manually and creating a list where you put in virtual website files and assign actions to that pages.
So if you visit a link in hunchentoot, a main array with available links is searched, and the functions assigned to the link will be executed.<p>Therefore I wrote mod_ecl. It's a not yet finished, but working apache module in alpha stage. It uses the ECL lisp distribution to embedd lisp into apache. Therefore lisp can be used like php. There is also no need to use remote shells or file hash tables. Every .lsp file you visit is simply executed and its output is delivered to the client.<p>You can <a href="https://sourceforge.net/projects/mod-ecl/">download mod_ecl here</a>.
<hr>
<a href="CGI.html" class="category">CGI</a></div></div>
<div id="footer" class="buttonbar"><ul><li><a href="mod_ecl.html">Current version</a></li>
<li><a href="https://www.cliki.net/site/history?article=mod_ecl">History</a></li>
<li><a href="https://www.cliki.net/site/backlinks?article=mod_ecl">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=mod_ecl&amp;from-revision=3489851815">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
</div>
<div id="header-buttons" class="buttonbar">
<ul>
<li><a href="https://www.cliki.net/">Home</a></li>
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
<li><a href="CLiki.html">About</a></li>
<li><a href="Text&#32;Formatting.html">Text Formatting</a></li>
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
</ul>
<div id="search">
<form action="https://www.cliki.net/site/search">
<label for="search_query" class="hidden">Search CLiki</label>
<input type="text" name="query" id="search_query" value="" />
<input type="submit" value="search" />
</form>
</div>
</div>
<div id="pageheader">
<div id="header">
<span id="logo">CLiki</span>
<span id="slogan">the common lisp wiki</span>
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
<label for="login_name" class="hidden">Account name</label>
<input type="text" name="name" id="login_name" class="login_input" />
<label for= "login_password" class="hidden">Password</label>
<input type="password" name="password" id="login_password" class="login_input" />
<input type="submit" name="login" value="login" id="login_submit" /><br />
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
</form>
</div>
</div>
</div>
</body></html>