server-side JavaScript solutions

本文提供了一份关于服务器端JavaScript的使用案例清单,包括多种应用平台、产品名称、JavaScript引擎及各自特点,如Rhino、SpiderMonkey等,覆盖了从wiki到数据库管理等多个领域的实际应用场景。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

原文地址:http://en.wikipedia.org/wiki/Comparison_of_server-side_JavaScript_solutions

his is a list of server-side JavaScript solutions.

Contents

   [hide

[edit]Server-side JavaScript use

Examples of current uses of JavaScript on the server side
Project-product name JavaScript engine Server platform(s) Comments
10genRhino10gen application serverUses Rhino parser; compiles JavaScript to Java
AlfrescoRhinoAny Java servlet container and standalone.Has JavaScript API that allows webscripts to create, access, delete, and manipulate data in the main Alfresco repository
Apache SlingRhinoAny Java servlet container and standaloneGeneric Java web application framework that allows to use any script language via the standard Java Script Engine interface; Sling is RESTful by design and sits on top of a Java Content Repository, giving scripts full access to the JCR
APESpiderMonkeyStandalone HTTPUsed to write custom server modules (manage message queue, users, channels, sockets, HTTP, ...). [2]
AppJetRhino (modified) Also provides hosting in a virtual machine
Aptana JaxerSpiderMonkeyApache HTTP ServerA community open source Ajax-server based on the Mozilla browser (DOM + JavaScript engine). 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. Not developed anymore by Aptana.
ASPJScriptIIS
CouchDBSpiderMonkeyStandalone HTTPUsed in MapReduce and update validation functions as well as to transform JSON documents and view results into HTML or other content-types.
Eclipse e4RhinoEquinox OSGi, bundled with Jetty, any servlet container (using the servlet bridge)Extensions can be written in JavaScript, not just Java, especially servlets using the OSGi HTTP Service. Frontends can be developed with Eclipse RAP using the SWT and JFace APIs, or any other UI framework. Focus is on modularity (plug-ins), extensibility, scalability.
EditMeRhinoHosted (Tomcat)Wiki with embedded JavaScript engine and API for application development within the wiki
GLUEscriptSpiderMonkeyApache HTTP Server, FastCGI and stand-aloneGlueing Libraries Using Ecmascript (GLUE) ports sqlitemysqlmemcachedwxWidgetsPOCO, ... to JavaScript. GLUEscript is the successor of wxJavaScript.[1]
Google Apps ScriptRhino (com.google.apps.maestro.rhino)Google AppEngineImplement Enterprise Workflows with Apps Script. Google Apps Script can be embedded in Google Sites giving your Google Site a backend. In addition, you can automate simple tasks across Google Products. Google Apps Script also allows interaction with non Google APIs and JDBC calls to databases.
GromJSSpiderMonkeyBaukGromJS is a Server Side JavaScript (SSJS) interpreter which provides the ability to use an enhanced version of the JavaScript language on a web server with similar functionality to PHP, CGI, ASP, mod_perl or any other server side scripting solution.[2]
HelmaRhinoJetty HTTP ServerComplete package with web server and framework.
JSSPRhinoAny Java servlet containerContains a modified Rhino version for embedded SQL support
MynaJSRhinoAny Java servlet container 
NarwhalRhino, SpiderMonkey, V8[3]Standalone 
Node.jsV8StandaloneJavaScript asynchronous, event-based I/O. Influenced by systems like Ruby's Event Machine or Python's Twisted. Plenty of modules available.
OperaFutharkOpera UniteJavaScript is the server-side language used to develop services for the Opera Unite feature of the Opera browser. This is a server built in to the browser. The JavaScript API includes local file access to a virtual sandboxed file-system and persistent storage via persistent global variables.
SilkJSV8Standalone,JavaScript Synchronous, CommonJS, JST (JSP-like template)/Markdown templating, easily extended with C++/Javascript Linux/OSX compatible. Pre-fork Http Server, Modules: MySQL, ORM, memcachedredisSQLite3,oraclencursesGD2cURLSSHFTP/SFTPGitHub, builtin - LESS compiler and CoffeeScript compiler.

"SilkJS enables JavaScript as a scripting language in the server environment. You can think of SilkJS as a command shell, along the lines of Perl or PHP, except the language you write in is JavaScript."[4]

TeaJSV8StandaloneFormerly known as v8cgi.

Other common server-side programming languages are JavaServer Pages (JSP), Active Server Pages (ASP), PerlPHPPythonRubyColdFusion, and others.

[edit]See also

[edit]References

  1. ^ GLUEscript, By Franky Braem
  2. ^ GromJS, By Mark Constable
  3. ^ [1]
  4. ^ SilkJS, By Michael Schwartz

### Server-Side Serve Tools and Libraries for Web Development For web development, several technologies provide robust solutions for serving applications efficiently. One prominent technology is **Node.js**, which has gained significant popularity due to its ability to use JavaScript on both the client side and server side[^1]. This consistency reduces the learning curve for developers familiar with front-end JavaScript. Another powerful option comes from cloud services like **Google Cloud Run**. As part of Google's suite of offerings within the Google Cloud Platform (GCP), Cloud Run provides a fully managed environment where developers can deploy containerized applications without worrying about provisioning or managing underlying infrastructure[^3]. Key features include: - Automatic scaling based on traffic demands. - Built-in health checks ensuring reliable application performance. - Version management facilitating smooth updates and rollbacks. These capabilities make Cloud Run particularly suitable for projects requiring rapid deployment cycles while maintaining high availability and scalability. In addition to these platforms, there exist specialized libraries designed specifically around efficient content delivery over HTTP/HTTPS protocols such as Express.js when working alongside Node.js environments. Such frameworks simplify routing requests, handling static files, integrating middleware components, etc., thereby streamlining the process of building scalable backend systems capable of serving dynamic web pages effectively. ```javascript // Example using Express.js to create a simple web server const express = require('express'); const app = express(); app.get('/', function(req, res){ res.send('Hello World!'); }); app.listen(3000); console.log("Server running at http://localhost:3000/"); ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值