manuel / 8ttpd

libevent + V8 web app server

This URL has Read+Write access

8ttpd / README
100644 37 lines (21 sloc) 0.711 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
* CANCELLED
 
Server-side JavaScript (SSJS) outside of a virtual machine with a
large library is a waste of time.
 
Old description follows:
 
* WHAT
 
8ttpd is (well, will be) a JavaScriptable HTTP server using libevent
and V8, that basically follows (well, will follow) the Rack webserver
interface.
 
Early release! It's Sunday evening, I'm tired, and I don't know any C++...
 
* BUILD
 
g++ -levent 8ttpd.cc /path/to/libv8.a -o 8ttpd
 
(for some reason doesn't work with -lv8)
 
* RUN
 
8ttpd sample.js
 
Goto to http://localhost:8080
 
* MORE
 
libevent: http://monkey.org/~provos/libevent/
      V8: http://code.google.com/p/v8/
    Rack: http://rack.rubyforge.org/doc/files/SPEC.html
 
* BY
 
Manuel Simoni, 2008-10-19