event driven web development in EmacsLisp
Elnode let's you write event driven code for handling HTTP requests. You can make web servers, handle files, do AJAX or write a chat app.
Nic has made a screencast introducing Elnode. Here it is.
(defun my-elnode-hello-world-handler (httpcon)
(elnode-http-start httpcon 200 '("Content-Type" . "text/html"))
(elnode-http-return
httpcon
"<html><body><h1>Hello World</h1></body></html>"))
(elnode-start 'my-elnode-hello-world-handler :port 8028 :host "localhost")
Download Elnode from marmalade using Emacs package install:
M-x package-install elnode
Please report all bugs here, on github. New releases are made frequently so please check for new versions before reporting.
Community information about Elnode can be found on the EmacsWiki Page.
Ask a question about Elnode on StackOverflow
Elnode would not have been possible without the help and encouragement of many people in the Emacs community.
Particularly the regulars on the #emacs Freenode IRC channel. Thanks to all those people.