Difference between revisions of "Modjs"
(New page: [http://www.modjs.org modjs.org] has the rudiments of an apache module to handle server side javascript using SpiderMonkey. SpiderMonkey [https://developer.mozilla.org/en/SpiderMonkey/JSA...) |
|||
Line 7: | Line 7: | ||
Would be nice to have libGD and/or ImageMagick support (EXIF too, if possible), as well as some sort of curl library to get to other sites to do stuff. | Would be nice to have libGD and/or ImageMagick support (EXIF too, if possible), as well as some sort of curl library to get to other sites to do stuff. | ||
---- | |||
Things we should have: | |||
*Class for MIME objects and MIME headers. | |||
*Object with server info (environment, log functionality) | |||
*Object with request info (request string (full and broken up), incoming mime object, maybe cookies already broken up, etc.) | |||
*Object with response info (outgoing mime object, print functionality, obstack stuff, way to set headers, etc) | |||
*File class extensions, if needed | |||
*Better include support | |||
*MySQL/SQLite classes and support | |||
*system call support | |||
*image manipulation support | |||
*json support | |||
*curl support | |||
Things the module should do if it can: | |||
*Cache compiled javascript code? | |||
*Stay alive? Might already do this... | |||
*Cached javascript context? Would this make sense? | |||
*Cached session stuff? Do I really want/need this? |
Revision as of 12:39, 7 January 2009
modjs.org has the rudiments of an apache module to handle server side javascript using SpiderMonkey.
SpiderMonkey APIs and a tutorial. Apache Module APIs and a tutorial.
Would like MIME support, a global request/response object (both MIME trees I think), SQLite and MySQL support, and File IO Support (if its not already there). Also should have support for including other javascript sources. mod_js has an example for includes and some of the request/apache stuff. SpiderMonkey has an example shell that shows some support for File objects I think.
Would be nice to have libGD and/or ImageMagick support (EXIF too, if possible), as well as some sort of curl library to get to other sites to do stuff.
Things we should have:
- Class for MIME objects and MIME headers.
- Object with server info (environment, log functionality)
- Object with request info (request string (full and broken up), incoming mime object, maybe cookies already broken up, etc.)
- Object with response info (outgoing mime object, print functionality, obstack stuff, way to set headers, etc)
- File class extensions, if needed
- Better include support
- MySQL/SQLite classes and support
- system call support
- image manipulation support
- json support
- curl support
Things the module should do if it can:
- Cache compiled javascript code?
- Stay alive? Might already do this...
- Cached javascript context? Would this make sense?
- Cached session stuff? Do I really want/need this?