ServerJS/Filesystem API: Difference between revisions
< ServerJS
Jump to navigation
Jump to search
No edit summary |
(→Prior Art: Adding link and providing some formatting to existing ones) |
||
Line 2: | Line 2: | ||
* Microsoft [http://msdn.microsoft.com/en-us/library/z9ty6h50.aspx Scripting.FileSystemObject]. Used in classic ASP, WSH, HTAs. | * Microsoft [http://msdn.microsoft.com/en-us/library/z9ty6h50.aspx Scripting.FileSystemObject]. Used in classic ASP, WSH, HTAs. | ||
* | * [http://www.mozilla.org/js/js-file-object.html JavaScript File object proposal] (~1998) | ||
* [https://developer.mozilla.org/En/SpiderMonkey:File_object Spidermonkey File object] | * [https://developer.mozilla.org/En/SpiderMonkey:File_object Spidermonkey File object] | ||
* [http://synchro.net/ 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/ Synchronet] provides a [http://synchro.net/docs/jsobjs.html#File File Class] that was originally inspired by SpiderMonkey's jsfile.c, but has been widely used and enhanced over the years. | ||
* [http://www.ejscript.org/products/ejs/doc/api/gen/ejscript/ejs.io-File.html | * Ejscript's [http://www.ejscript.org/products/ejs/doc/api/gen/ejscript/ejs.io-File.html File class] 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. | ||
* | * [http://jsext.sourceforge.net/JSEXT1.File.html JSExt.File] | ||
* | * [http://code.google.com/p/jslibs/wiki/jsio jslibs jsio module] | ||
* | * [http://www.wxjavascript.net/io/index.html wxJavascript IO module] | ||
* v8cgi has a [http://code.google.com/p/v8cgi/wiki/API#File_functions File] and [http://code.google.com/p/v8cgi/wiki/API#Directory_functions Directory] interfaces | * v8cgi has a [http://code.google.com/p/v8cgi/wiki/API#File_functions File] and [http://code.google.com/p/v8cgi/wiki/API#Directory_functions Directory] interfaces | ||
* helma has two File apis. One [http://helma.zumbrunn.com/reference/File.html deprecated] and one [http://helma.zumbrunn.com/reference/helma.File.html current] | * helma has two File apis. One [http://helma.zumbrunn.com/reference/File.html deprecated] and one [http://helma.zumbrunn.com/reference/helma.File.html current] | ||
* adobe's extendscript has a File constructor.Documentation is difficult to find online. | * adobe's extendscript has a File constructor.Documentation is difficult to find online. | ||
* generic [http://koberg.com/ripple/docs/api/ collection/document resource] (java) api (work in process) | * generic [http://koberg.com/ripple/docs/api/ collection/document resource] (java) api (work in process) | ||
* Opera Software's [http://dev.opera.com/articles/view/file-i-o-api-for-widgets/ File I/O API for widgets], which will probably be standardized by the [http://www.w3.org/2006/webapi/ W3C Web API Working Group]. | |||
== Requirements/Proposals == | == Requirements/Proposals == | ||
* Summary/Comparison of current File APIs used by JS engines [http://spreadsheets.google.com/pub?key=p9uiX8MUHeTiP0kPT591RUw ServerJS File Object Survey] | * Summary/Comparison of current File APIs used by JS engines [http://spreadsheets.google.com/pub?key=p9uiX8MUHeTiP0kPT591RUw ServerJS File Object Survey] |
Revision as of 13:53, 19 March 2009
Prior Art
- Microsoft Scripting.FileSystemObject. Used in classic ASP, WSH, HTAs.
- JavaScript File object proposal (~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.
- Ejscript's File class 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
- jslibs jsio module
- wxJavascript IO module
- 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)
- Opera Software's File I/O API for widgets, which will probably be standardized by the W3C Web API Working Group.
Requirements/Proposals
- Summary/Comparison of current File APIs used by JS engines ServerJS File Object Survey