R. Tyler Ballance
c94c04fa30
Add BSD license, woot
...
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-09 05:52:02 -04:00
R. Tyler Ballance
fe29a4feca
Add the readme file
...
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-09 05:12:56 -04:00
R. Tyler Ballance
23b98ab9d8
Kill the PrintEnv function, unneeded
...
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-09 05:06:30 -04:00
R. Tyler Ballance
8000bd54ba
Exposing the request and the FastCGI environments through to the JavaScript through the self.fastjs object
...
Currently they're typical JavaScript objects tied to:
fastjs.env
fastjs.fcgi_env
I think I need a template language now..
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-09 05:05:04 -04:00
R. Tyler Ballance
133b8d92df
Namespace the FastJS callbacks into the self.fastjs object in JavaScript
...
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-09 04:32:47 -04:00
R. Tyler Ballance
742ad00ba7
Expose a log() method into the JavaScript to print into the FastCGI error log
...
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-09 04:25:13 -04:00
R. Tyler Ballance
4d7172e577
Enable support for including other .fjs files inside the current scriptlet.
...
Still displeased with write()'ing everything out to the stream -_-
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-09 03:56:22 -04:00
R. Tyler Ballance
0f50b14e6d
Reading in .fjs files not and executing them accordingly. Running index.fjs as a good test page.
...
Still need to get the load function and the environment variables exposed into the JavaScript through a global object under window.fastjs
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-09 03:12:02 -04:00
R. Tyler Ballance
22778c136a
Moving file-reading out into it's own function, starting to setup the .fjs handlers
...
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-08 07:00:05 -04:00
R. Tyler Ballance
2716fa3ab6
Add the FastJS_Write() function to provide a means for the JavaScript executing on the server side to access the output stream
...
We also have jQuery provided in the global scope for the executing JavaScript
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-08 06:28:14 -04:00
R. Tyler Ballance
0d653d62c4
Adding jQuery 1.3.2 into the codebase, working on preloading the JavaScript environment with jQuery
...
This should make the use of FastJS a little more compelling, having jQuery readily available
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-03-08 05:56:22 -04:00
R. Tyler Ballance
48c3980e16
Printint out the request environment will still be handy for a while
...
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-01-31 20:54:41 -05:00
R. Tyler Ballance
a26d5592af
Just like that, we're executing JavaScript in the FastCGI handler
...
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-01-31 20:52:57 -05:00
R. Tyler Ballance
43e192e8a7
Add the built artifacts from building v8, just to help get me started.
...
I'll make this better eventually
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-01-31 20:30:01 -05:00
R. Tyler Ballance
5be06a1700
Add a basic Makefile, and copy over the echo-x.c from the FastCGI devkit to start toying aroudn with
...
Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-01-31 20:24:39 -05:00