Skip to content
gmosx edited this page Sep 13, 2010 · 6 revisions

“Rack provides an minimal interface between webservers supporting Ruby and Ruby frameworks”.replace(“Rack”,“Jack”).replace(“Ruby”,“JavaScript”)

Indeed, Jack is heavily inspired by Rack (http://rack.rubyforge.org/), as well as Python’s WSGI (http://www.wsgi.org/), with adjustments to suit JavaScript where necessary.

It provides a common interface between web servers and web applications or frameworks written in JavaScript. At it’s core, Jack is simply a protocol that defines an interface, but it is also an implementation of a set of handlers (to connect to web servers), adapters (to connect to JavaScript frameworks and applications), middleware (to intercept and manipulate requests or responses), and utilities (to make using Jack easier) implemented in JavaScript.

Clone this wiki locally