CommonJS
   HOME





CommonJS
CommonJS is a project to standardize the module ecosystem for JavaScript outside of web browsers (e.g. on web servers or native desktop applications). CommonJS's specification of how modules should work is widely used today for server-side JavaScript with Node.js. It is also used for browser-side JavaScript, but that code must be packaged with a transpiler since browsers don't support CommonJS. The other major module specification in use is the ECMAScript (ES) modules specification (ES6 modules aka ES2015 modules). CommonJS can be recognized by the use of the require() function and module.exports, while ES modules use import and export statements for similar (though not identical) functionality. History The project was started by Mozilla engineer Kevin Dangoor in January, 2009 and initially named ServerJS. In August 2009, the project was renamed ''CommonJS'' to show the broader applicability of the APIs. Specifications are created and approved in an open process. A specifi ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Comparison Of Server-side JavaScript Solutions
This is a list of server-side JavaScript implementations. Server-side JavaScript use Other common server-side programming languages are JavaServer Pages (JSP), Active Server Pages (ASP), Perl, PHP, Python, Ruby, ColdFusion Adobe ColdFusion is a commercial rapid web-application development computing platform created by J. J. Allaire in 1995. (The programming language used with that platform is also commonly called ColdFusion, though is more accurately known as CF ..., and others. See also * References External linksThe Server-Side JavaScript Google Groupdedicated to creating cross-platform SSJS standard APIs.Mozilla JavaScript shellsespecially section "Standalone JavaScript shells" {{ECMAScript JavaScript Server-side JavaScript implementations Server-side JavaScript implementations ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


JSGI
JSGI, or JavaScript Gateway Interface, is an interface between web servers and JavaScript-based web applications and frameworks. It was inspired by the Rack for Ruby and WSGI for Python and was one of the inspirations of PSGI for Perl. is a reference implementation In the software development process, a reference implementation (or, less frequently, sample implementation or model implementation) is a program that implements all requirements from a corresponding specification. The reference implementation ... of JSGI. It has been included in and further developed by the CommonJS project. JSGI packages All these packages are for Node.js. Low level Q-IO Promise-based I/O, includes JSGI-based HTTP server and client jsgi-node Low level JSGI interface for Node.JS Framework These frameworks allow using promises with Q: * * The names are inspired by Sinatra. References External links JSGI 0.3 specification* * JavaScript libraries {{compu-p ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Asynchronous Module Definition
Asynchronous module definition (AMD) is a Specification (technical standard), specification for the programming language JavaScript. It defines an application programming interface (API) that defines modular programming, code modules and their Coupling (computer programming), dependencies, and loads them asynchronously if desired. Implementations of AMD provide the following benefits: * Website performance improvements. AMD implementations load smaller JavaScript files, and then only when they are needed. * Fewer page errors. AMD implementations allow developers to define dependencies that must load before a module is executed, so the module does not try to use outside code that is not available yet. In addition to loading multiple JavaScript files at runtime, AMD implementations allow developers to encapsulate code in smaller, more logically-organized files, in a way similar to other programming languages such as Java (programming language), Java. For production and deployment, ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


QUnit
QUnit is a JavaScript framework for unit testing. Originally developed for testing jQuery, jQuery UI and jQuery Mobile, it is a generic framework for testing any JavaScript code. It supports client-side environments in web browsers, and server-side (e.g. Node.js). QUnit's assertion methods follow the CommonJS unit testing specification, which itself was influenced to some degree by QUnit. History John Resig originally developed QUnit as part of jQuery. In 2008 it was extracted from the jQuery unit test code to form its project and became known as "QUnit". This allowed others to start using it for writing their unit tests. While the initial version of QUnit used jQuery for interaction with the Document Object Model, DOM, a Rewrite (programming), rewrite in 2009 made QUnit completely standalone. A 2017 analysis of npm and GitHub code repositories showed QUnit was the third most prevalent framework, with half as much usage as the most popular framework, Mocha (JavaScript frame ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  




Jetpack (Firefox Project)
Jetpack was a working group which wrote a software development kit for Firefox add-ons. They produced the Add-on SDK, a set of APIs, a runtime, and a command-line tool for creating and running add-ons, and the Add-on Builder, a Web-based integrated development environment which used the SDK. Add-ons developed with the SDK were written in HTML, CSS, and JavaScript using CommonJS CommonJS is a project to standardize the module ecosystem for JavaScript outside of web browsers (e.g. on web servers or native desktop applications). CommonJS's specification of how modules should work is widely used today for server-side Jav ... conventions. They did not require the user to restart Firefox when they were installed or uninstalled. The SDK's APIs were high-level, task-oriented, and designed to insulate developers from changes across Firefox versions. Mozillians running the project made a tool called the Jetpack Prototype. APIs provided by the Jetpack Prototype were not compatibl ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Modular Programming
Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect or "concern" of the desired functionality. A module interface expresses the elements that are provided and required by the module. The elements defined in the interface are detectable by other modules. The implementation contains the working code that corresponds to the elements declared in the interface. Modular programming is closely related to structured programming and object-oriented programming, all having the same goal of facilitating construction of large software programs and systems by decomposition into smaller pieces, and all originating around the 1960s. While the historical usage of these terms has been inconsistent, "modular programming" now refers to the high-level decomposition of the code of an entire program into pieces: structured progra ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


SproutCore
SproutCore is an open-source JavaScript web framework. Its goal is to allow developers to create web applications with advanced capabilities and a user experience comparable to that of desktop applications. When developing a SproutCore application, all code is written in JavaScript. A notable fork of SproutCore is Ember.js. Both projects are maintained separately and have taken different directions. Development SproutCore, initially created in 2007 by Sproutit as the basis for their Mailroom application, is available under the MIT License. Apple announced MobileMe at WWDC in 2008, noting that much of it was built using SproutCore. Apple has contributed greatly to the project as part of a Web 2.0 initiative. SproutCore was also used at iWork.com, the online extension of the iWork productivity software by Apple. The latest major stable SproutCore release is 1.8, released on March 7, 2012, with many bug fixes, several new features, and documentation updates. Release 1.6 was la ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Application Programming Interface
An application programming interface (API) is a connection between computers or between computer programs. It is a type of software Interface (computing), interface, offering a service to other pieces of software. A document or standard that describes how to build such a connection or interface is called an ''API specification''. A computer system that meets this standard is said to ''implement'' or ''expose'' an API. The term API may refer either to the specification or to the implementation. In contrast to a user interface, which connects a computer to a person, an application programming interface connects computers or pieces of software to each other. It is not intended to be used directly by a person (the end user) other than a computer programmer who is incorporating it into software. An API is often made up of different parts which act as tools or services that are available to the programmer. A program or a programmer that uses one of these parts is said to ''call'' that ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


picture info

Document Object Model
The Document Object Model (DOM) is a cros s-platform and language-independent API that treats an HTML or XML document as a tree structure wherein each node is an object representing a part of the document. The DOM represents a document with a logical tree. Each branch of the tree ends in a node, and each node contains objects. DOM methods allow programmatic access to the tree; with them one can change the structure, style or content of a document. Nodes can have event handlers (also known as event listeners) attached to them. Once an event is triggered, the event handlers get executed. The principal standardization of the DOM was handled by the World Wide Web Consortium (W3C), which last developed a recommendation in 2004. WHATWG took over the development of the standard, publishing it as a living document. The W3C now publishes stable snapshots of the WHATWG standard. In HTML DOM (Document Object Model), every element is a node: * A document is a document node. * All HTM ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  




XULJet
XULRunner is a discontinued, packaged version of the Mozilla platform to enable standalone desktop application development using XUL, developed by Mozilla. It replaced the ''Gecko Runtime Environment'', a stalled project with a similar purpose. The first stable developer preview of XULRunner was released in February 2006, based on the Mozilla 1.8 code base. Mozilla stopped supporting the development of XULrunner in July 2015. XULRunner was a "technology experiment", not a shipped product, meaning there were no official XULRunner releases, only stable builds based on the same code as a corresponding Firefox release. Software architecture XULRunner is a runtime that can be used to bootstrap multiple XUL + XPCOM applications that are equal in capabilities to Firefox and Thunderbird. XULRunner stores a variety of configuration data (bookmarks, cookies, contacts etc.) in internally managed SQLite databases, and even offer an add-on to manage SQLite databases. Uses Mozilla Firef ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]  


Node
In general, a node is a localized swelling (a "knot") or a point of intersection (a vertex). Node may refer to: In mathematics * Vertex (graph theory), a vertex in a mathematical graph *Vertex (geometry), a point where two or more curves, lines, or edges meet. * Node (autonomous system), behaviour for an ordinary differential equation near a critical point * Singular point of an algebraic variety, a type of singular point of a curve In science and engineering Spherical geometry * node, the points where a great circle crosses a plane of reference, or the equator of a sphere Astronomy * Orbital node, the points where an orbit crosses a plane of reference ** Lunar node, where the orbits of the Sun and Moon intersect ** Longitude of the ascending node, how orbital nodes are parameterized Biology * Lymph node, an immune system organ used to store white blood cells * Node of Ranvier, periodic gaps in the insulating myelin sheaths of myelinated axons *Sinoatrial node and atrioven ...
[...More Info...]      
[...Related Items...]     OR:     [Wikipedia]   [Google]   [Baidu]