CommonJS Spec Wiki wikidb https://wiki.commonjs.org/wiki/CommonJS MediaWiki 1.24.1 first-letter Media Special Talk User User talk CommonJS CommonJS talk File File talk MediaWiki MediaWiki talk Template Template talk Help Help talk Category Category talk Property Property talk Type Type talk Form Form talk Concept Concept talk Filter Filter talk Website Website talk CommonJS 0 30 5822 5815 2011-10-09T19:22:42Z 9mpPoEw34i 5386 Welcome to [http://commonjs.org CommonJS], a group with a goal of building up the JavaScript ecosystem for web servers, desktop and command line apps and in the browser. This wiki is a starting point for collecting up ideas, any draft API suggestions for the [http://groups.google.com/group/commonjs CommonJS group]. Discussions occur on that mailing list and [http://log.serverjs.org/mochabot/join on IRC (#commonjs on freenode)]. == Meta == * [[Introduction]] * [[FAQ]] * [[Process]] * [[Target Platforms]] * [[Coding Standards]] == Current Efforts == This is a list of issues currently being discussed / standardized. They come from the "Low level" department, as we need to have solid basics prior to building a tower. # [[Global|Uniform Baseline / Globals]] (discussion) # [[Modules]] ([[Modules/1.1.1|1.1.1]]) ## <code>binary</code>: [[Binary]] Data Objects (byte arrays and/or strings) (proposals, discussion, early implementations) ## <code>encodings</code>: [[Encodings]] and character sets (proposals, discussion, early implementations) ## <code>io</code>: [[IO|I/O Streams]] (proposals, discussion) ## <code>fs</code>, <code>fs-base</code>: [[Filesystem]] (proposals, discussion, early implementations) ## <code>system</code>: [[System]] Interface (stdin, stdout, stderr, &c) ([[System/1.0|1.0]], amendments proposed) ## <code>assert</code>, <code>test</code>: [[Unit Testing]] ([[Unit_Testing/1.0|1.0]], amendment proposals pending) ## <code>sockets</code>: [[Sockets|Socket I/O]] TCP/IP sockets (early proposals) ## <code>event-queue</code>: [[Reactor]] Reactor/Event Queue (early proposals) ## <code>worker</code>: [[Worker]] Worker (concurrent shared nothing process/thread) (proposal) ## <code>console</code>: [[console]] (proposal) # [[Packages]] ([[Packages/1.0|1.0]]) # [[Packages/Mappings/C|Package Mappings]] (proposal) # [[JSGI|Web Server Gateway Interface (JSGI)]] (proposals, discussion, early implementations) # [[Promises]] (proposal) * [[Status|Pending Business / Calls for Action / Status Report]] == Future Efforts == === Low-level APIs === This is the collection of APIs that we'd like to see behaving consistently across JavaScript interpreters. * [[Runtime Services|Language and Runtime Services]] * [[Logging]] * [[RDBMS|Relational database interface]] * ResultSets (collections of data maybe from RDBMS, maybe from other sources) * [[Concurrency]] * [[String IO|String / ByteString I/O]] * [[C API|C unified API]] to our Target Platforms * [[Subprocess]]es (popen) === High-level APIs === This is the collection of APIs that implement common functionality on top of the low-level API. * [[HTTP Client|HTTP client]] APIs * [[Email]] * [[XMPP|Jabber (XMPP)]] * [[i18n|Internationalization]] * [[Promise Manager]] * [[Command Line|Command line processing]] == Implementations == {{ImplementationsTable |standards={{#ask: [[Category:Spec]] [[Is standard::yes]] | link=none }} |non-standards={{#ask: [[Category:Spec]] [[Is standard::no]] [[Has implementations::yes]] | link=none }} }} === In development === * mob is implementing SecurableModules in Ejscript http://www.ejscript.org * pmuellr posted a sample loader for SecurableModules: http://wiki.github.com/pmuellr/modjewel * atul varma has a SecurableModule implementation for Python/Spidermonkey: http://hg.toolness.com/pydertron/raw-file/tip/docs.html * [[User: Alexandre.Morgaut|Alexandre]] implements several commonJS standards in Wakanda (SquirrelFish) http://www.wakandasoft.com * Titanium is in the process of adding support for CommonJS. http://www.appcelerator.com == Tests == * [http://github.com/280north/narwhal/tree/master/tests/commonjs/ CommonJS tests] compatible with [http://github.com/280north/narwhal/tree/master/lib/test/ this test framework]. == Further Reading == * [[Existing APIs]] * [[Infrastructure]] * [[High Level Tools]] * [[Random Links]] == Wiki == * [[Dumps]] 58cvr134brf5hp1cd04gmd74fj9lodz wikitext text/x-wiki