Skip to content

Instantly share code, notes, and snippets.

@oberhamsi
Created October 12, 2010 09:09
Show Gist options
  • Save oberhamsi/621893 to your computer and use it in GitHub Desktop.
Save oberhamsi/621893 to your computer and use it in GitHub Desktop.
{{ infobox software
| name = RingoJs
| logo = [[File:RingoJs.png|150px|RingoJs Logo]]
| screenshot =
| caption =
| author = Hannes Wallnöfer
| developer = [http://ringojs.org/wiki/Contributors/ RingoJs Developers]
| operating system = [[Mac OS X]], [[Linux]], [[Solaris (operating system)|Solaris]], [[FreeBSD]], [[OpenBSD]], [[Windows]], [[webOS]]
| status = Active
| released =
| latest release version = 0.6
| latest release date = {{release date|2010|09|30}}
| latest preview version =
| latest preview date =
| programming language = [[Java]], [[JavaScript]]
| genre = [[Application framework]]
| license = [[MIT License]]
| website = http://ringojs.org/
}}
RingoJs is a compact JavaScript runtime environment based on Mozilla Rhino. It adds to Rhino a module system compatible with the CommonJS specification. Ringo projects can be deployed to the Google App Engine with little effort.
FIXME talk about notable features:
* storage api
* web modules
include info from http://ringojs.org/wiki/Philosophy/
== Examples ==
[[Web server|HTTP Server]] version of [[Hello world program|hello world]] in RingoJs:
<source lang="javascript">
function app(request) {
return {
status: 200,
headers: {},
body: ["hello world"]
};
}
require("ringo/httpserver").Server({
app: app,
port: 4040
}).start();
</source>
== See also ==
* [[JavaScript]]
* [[Rhino_(JavaScript_engine)]]
== References ==
{{reflist}}
== External links ==
*[http://ringojs.org/ Official website]
*[http://github.com/ringo/ringojs Source Repository]
*[http://groups.google.com/group/ringojs Newsgroup]
*[http://hns.github.com/2010/07/02/versatility.html Blog post about synchronous and asynchronous web serving with RingoJS.]
*[http://www.gmosx.com/blog/agVnbW9zeHIPCxIHQXJ0aWNsZRjh2gEM/ Article highlighting the differences between NodeJs and Ringojs]
*[http://vimeo.com/10063607 Screencast: Deploying RingoJs to the Google App Engine]
{{Compu-lang-stub}}
[[Category:JavaScript libraries]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment