ServerJS/Filesystem API: Difference between revisions
< ServerJS
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
== Requirements/Proposals == | == Requirements/Proposals == | ||
* Summary/Comparison of current File APIs used by JS engines [http://spreadsheets.google.com/pub?key=p9uiX8MUHeTiP0kPT591RUw] | * Summary/Comparison of current File APIs used by JS engines [http://spreadsheets.google.com/pub?key=p9uiX8MUHeTiP0kPT591RUw ServerJS File Object Survey] |
Revision as of 16:05, 22 February 2009
Prior Art
- Microsoft Scripting.FileSystemObject. Used in classic ASP, WSH, HTAs.
- JavaScript File object proposal http://www.mozilla.org/js/js-file-object.html (~1998)
- Spidermonkey File object
- Synchronet provides a File Class that was originally inspired by SpiderMonkey's jsfile.c, but has been widely used and enhanced over the years: http://synchro.net/docs/jsobjs.html#File
- This File class from Ejscript is still evolving but is fairly comprehensive. It supports stackable streams such as BinaryStream, StringStream. It can also do I/O to and from a ByteArray class.
- JSExt.File http://jsext.sourceforge.net/JSEXT1.File.html
- jslibs jsio module http://code.google.com/p/jslibs/wiki/jsio
- wxJavascript IO module http://www.wxjavascript.net/io/index.html
- v8cgi has a File and Directory interfaces
- helma has two File apis. One deprecated and one current
- adobe's extendscript has a File constructor.Documentation is difficult to find online.
- generic collection/document resource (java) api (work in process)
Requirements/Proposals
- Summary/Comparison of current File APIs used by JS engines ServerJS File Object Survey