Server-side JavaScript: Difference between revisions

Content deleted Content added
No edit summary
{{r to section}}
 
(165 intermediate revisions by more than 100 users not shown)
Line 1:
#REDIRECT [[JavaScript#Server-side JavaScript]]
'''Server-side JavaScript''' ('''SSJS''') refers to [[JavaScript]] that runs on [[server-side]]. This term was coined because the language was originally limited to just [[client-side]], i.e. [[client-side JavaScript]] (CSJS).
{{r to section}}
 
The first implementation of SSJS was [[Netscape Communications Corporation|Netscape]]'s LiveWire, included in their Enterprise Server 2.0 product, released in [[1996]].
 
{| class="wikitable sortable"
|+ Examples of current uses of JavaScript on the server side
|-
! Project/product name
! JavaScript Engine
! Server Platform(s)
! Comments
|-
| [[Active Server Pages|ASP]]
| [[JScript]]
| [[IIS]]
|-
| [[AppJet]]
| [[Rhino (JavaScript engine)|Rhino]](modified)
|
| also provides hosting in a virtual machine
|-
| [http://cocoon.apache.org/2.1/userdocs/flow/api.html Cocoon Flowscript]
| [[Rhino (JavaScript engine)|Rhino]]
| [http://cocoon.apache.org/ Apache Cocoon]
|
|-
| [[firecat]]
| [[Free ECMAScript Interpreter|FESI]]
| Stand-alone
| Complete package with web server and framework.
|-
| [[Helma Object Publisher]]
| [[Rhino (JavaScript engine)|Rhino]]
| [[Jetty (web server)|Jetty HTTP Server]]
| Complete package with web server and framework.
|-
| [http://www.jsext.net/ jsext]
| [[SpiderMonkey]]
| Stand-alone?
| Makes inclusion of C libraries very simple and contains high-level wrappers written in JavaScript.
|-
| [[Java Server Pages|JSP]]
| colspan="2" | [http://caucho.com Caucho Resin] Servlet Runner
| Resin version 2 only. Not available in version 3.
|-
| [http://www.juicescript.org/web/ JuiceScript]
| [[SpiderMonkey]]
| [[Apache HTTP Server]] and Stand-alone
|
|-
| [http://www.opentext.com/2/sol-products/pro-wcm/pro-ll-wcm-server.htm Livelink Web Content Management Server] (formerly Obtree)
|
|
| A commercial content management system used in a number of European public-sector and financial organizations. It uses SSJS for dynamic features and to customize the behavior of built-in objects.
|-
| [http://modjs.org mod_js]
| [[SpiderMonkey]]
| [[Apache HTTP Server]]
| mod_js is a stand-alone module for Apache that is able to execute JavaScript on the server.
|-
| [http://openmocha.org/openmocha/ OpenMocha]
| [[Helma Object Publisher|Helma]]
| Stand-alone
|
|-
| [https://phobos.dev.java.net/ Phobos]
| [[Rhino (JavaScript engine)|Rhino]]
| Glassfish and any other Java servlet container.
|
|-
| [https://addons.mozilla.org/firefox/3002/ POW] [http://davidkellogg.com/wiki/Main_Page Plain Old Webserver]
| [[SpiderMonkey]]
| [[Mozilla Firefox]]
| A Mozilla Firefox Extension which adds a server to your browser. Templates can use SSJS.
|-
| [http://rhinoinspring.sourceforge.net Rhino in Spring]
| [[Rhino (JavaScript engine)|Rhino]]
| [[Spring Framework (Java)|Spring]]
|
|-
| [http://mod-gcj.sf.net/rhinola.html Rhinola]
| [[Rhino (JavaScript engine)|Rhino]]
| [[Apache HTTP Server]]
| Uses [[gcj]]
|-
| [http://www.bluishcoder.co.nz/2006/05/server-side-javascript.html Server Side Javascript]
| [[Rhino (JavaScript engine)|Rhino]]
| [[Jetty (web server)|Jetty 6]]
| For writing servlets.
|-
| [[ServiceCenter]]
| [[SpiderMonkey]]
| N/A
| A commercial product in the [[Hewlett-Packard|HP]] [[OpenView]] product range, uses SSJS to allow tailoring of the application server.
|-
| [[Veracart]]
|
|
| A hosted e-commerce platform which uses PHP to process data/events on the remote server, while using server-side JavaScript to generate the content via the intermediate site (store website), on to the clients computer.
|-
| [http://www.whitebeam.org/ Whitebeam]
| [[SpiderMonkey]]
| [[Apache HTTP Server]]
| Server-side JavaScript environment for developing web applications. Includes integration with graphics libraries and the PostgreSQL database. Actively developed and in use supporting commercial sites. Released under the BSD license. Latest release supports E4X.
|-
| [http://www.wxjavascript.net/ wxJavaScript]
| [[SpiderMonkey]]
| [[Apache HTTP Server]] and Stand-alone
| With E4X and wxWidgets ported classes.
|-
| [http://code.google.com/p/trimpath/ Junction]
| [[Rhino (JavaScript engine)|Rhino]]
| [[Apache HTTP Server]]
| Ruby on Rails port to javascript
! JavaScript Engine
! Server Platform(s)
! Comments
|-
| [[Active Server Pages|ASP]]
| [[JScript]]
| [[IIS]]
|-
| [[AppJet]]
| [[Rhino (JavaScript engine)|Rhino]](modified)
|
| also provides hosting in a virtual machine
|-
| [http://cocoon.apache.org/2.1/userdocs/flow/api.html Cocoon Flowscript]
| [[Rhino (JavaScript engine)|Rhino]]
| [http://cocoon.apache.org/ Apache Cocoon]
|
|-
| [[firecat]]
| [[Free ECMAScript Interpreter|FESI]]
| Stand-alone
| Complete package with web server and framework.
|-
| [[Helma Object Publisher]]
| [[Rhino (JavaScript engine)|Rhino]]
| [[Jetty (web server)|Jetty HTTP Server]]
| Complete package with web server and framework.
|-
| [http://www.jsext.net/ jsext]
| [[SpiderMonkey]]
| Stand-alone?
| Makes inclusion of C libraries very simple and contains high-level wrappers written in JavaScript.
|-
| [[Java Server Pages|JSP]]
| colspan="2" | [http://caucho.com Caucho Resin] Servlet Runner
| Resin version 2 only. Not available in version 3.
|-
| [http://www.juicescript.org/web/ JuiceScript]
| [[SpiderMonkey]]
| [[Apache HTTP Server]] and Stand-alone
|
|-
| [http://www.opentext.com/2/sol-products/pro-wcm/pro-ll-wcm-server.htm Livelink Web Content Management Server] (formerly Obtree)
|
|
| A commercial content management system used in a number of European public-sector and financial organizations. It uses SSJS for dynamic features and to customize the behavior of built-in objects.
|-
| [http://modjs.org mod_js]
| [[SpiderMonkey]]
| [[Apache HTTP Server]]
| mod_js is a stand-alone module for Apache that is able to execute JavaScript on the server.
|-
| [http://openmocha.org/openmocha/ OpenMocha]
| [[Helma Object Publisher|Helma]]
| Stand-alone
|
|-
| [https://phobos.dev.java.net/ Phobos]
| [[Rhino (JavaScript engine)|Rhino]]
| Glassfish and any other Java servlet container.
|
|-
| [https://addons.mozilla.org/firefox/3002/ POW] [http://davidkellogg.com/wiki/Main_Page Plain Old Webserver]
| [[SpiderMonkey]]
| [[Mozilla Firefox]]
| A Mozilla Firefox Extension which adds a server to your browser. Templates can use SSJS.
|-
| [http://rhinoinspring.sourceforge.net Rhino in Spring]
| [[Rhino (JavaScript engine)|Rhino]]
| [[Spring Framework (Java)|Spring]]
|
|-
| [http://mod-gcj.sf.net/rhinola.html Rhinola]
| [[Rhino (JavaScript engine)|Rhino]]
| [[Apache HTTP Server]]
| Uses [[gcj]]
|-
| [http://www.bluishcoder.co.nz/2006/05/server-side-javascript.html Server Side Javascript]
| [[Rhino (JavaScript engine)|Rhino]]
| [[Jetty (web server)|Jetty 6]]
| For writing servlets.
|-
| [[ServiceCenter]]
| [[SpiderMonkey]]
| N/A
| A commercial product in the [[Hewlett-Packard|HP]] [[OpenView]] product range, uses SSJS to allow tailoring of the application server.
|-
| [[Veracart]]
|
|
| A hosted e-commerce platform which uses PHP to process data/events on the remote server, while using server-side JavaScript to generate the content via the intermediate site (store website), on to the clients computer.
|-
| [http://www.whitebeam.org/ Whitebeam]
| [[SpiderMonkey]]
| [[Apache HTTP Server]]
| Server-side JavaScript environment for developing web applications. Includes integration with graphics libraries and the PostgreSQL database. Actively developed and in use supporting commercial sites. Released under the BSD license. Latest release supports E4X.
|-
| [http://www.wxjavascript.net/ wxJavaScript]
| [[SpiderMonkey]]
| [[Apache HTTP Server]] and Stand-alone
| With E4X and wxWidgets ported classes.
|-
| [http://www.aptana.com/jaxer/ Jaxer]
| [[SpiderMonkey]]
| [[Apache HTTP Server]]
| Actively developed. HTML, JavaScript, and CSS are native to Jaxer, as are XMLHttpRequests, JSON, DOM scripting, etc. It offers access to databases, files, and networking, as well as logging, process management, scalability, security, integration APIs, and extensibility.
|}
 
Other common server-side programming languages are [[Java (programming language)|Java]], [[C Sharp (programming language)|C#]], [[Perl]], [[PHP]], [[Python (programming language)|Python]], [[Ruby programming language|Ruby]] and [[ColdFusion]] amongst others.
 
===Specifications===
*[http://research.nihonsoft.org/javascript/ServerReferenceJS12/index.htm Reference for Server-Side JavaScript 1.2]
*[http://research.nihonsoft.org/javascript/ssjshtml/nes/ssjs/ServerJSv14/Guide-sanborns/Server/Online/Output/contents.htm Guide for Server-Side JavaScript 1.4]
*[http://research.nihonsoft.org/javascript/ServerGuideJS12/index.htm Guide for Server-Side JavaScript 1.2]
 
==See also==
*[[JavaScript]]
 
[[Category:JavaScript programming language]]
 
{{compu-lang-stub}}