fastjs.write() // write to the output stream
fastjs.log() // write to the FastCGI error.lgo
On the server side, a typical request looks something like this (for now):
fastjs.log("This should go into the error.log");
The code above generates a page that looks pretty basic, but informative nonetheless (click to enlarge):
Proper handling of erroring scripts via an informative 500 page that reports on the error
Templating? Lots of fastjs.write() calls are likely to drive you mad
Performance concerns? As of now, the whole stack (jQuery + .fjs) are evaluated every page request.
Tests! I should really get around to writing some level of integration tests to make sure that FastJS is returning expected results for particular chunks of .fjs scripts
The project is hosted on GitHub right now, here and is under a 2-clause BSD license.