JSGI
{{Short description|Interface between web servers and JavaScript-based web applications}}
{{Refimprove|date=June 2013}}
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.
{{webarchive |url=https://web.archive.org/web/20141217142806/http://jackjs.org/ |date=December 17, 2014 |title=Jack}} is a reference implementation of JSGI.
It has been included in and further developed by the CommonJS project.{{cite web|title=CommonJS Web server to application interface Spec|url=http://wiki.commonjs.org/wiki/JSGI}}
JSGI packages
All these packages are for Node.js.
= Low level =
- [https://github.com/kriskowal/q-io Q-IO]: Promise-based I/O, includes JSGI-based HTTP server and client
- [https://github.com/kriszyp/jsgi-node jsgi-node]: Low level JSGI interface for Node.JS
= Framework =
These frameworks allow using promises with Q:{{cite web|title=Q promise framework|url=http://documentup.com/kriskowal/q/|access-date=2013-05-22|archive-date=2016-03-26|archive-url=https://web.archive.org/web/20160326224727/http://documentup.com/kriskowal/q/|url-status=dead}}
- {{GitHub|kriskowal/joey}}
- {{GitHub|nrstott/bogart}}
The names are inspired by Sinatra.
References
{{Reflist}}
External links
- [http://wiki.commonjs.org/wiki/JSGI JSGI 0.3 specification]
- {{webarchive |url=https://web.archive.org/web/20141104052023/http://jackjs.org/jsgi-spec.html |date=November 4, 2014 |title=JSGI 0.2 specification}}
- {{GitHub|tlrobinson/jack}}
{{Web interfaces}}
{{ECMAScript}}
{{JavaScript}}
{{compu-prog-stub}}