This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Dominic Baggott (author)
Wed Nov 04 14:31:04 -0800 2009
commit a065fb2ed1eb49a5298c16164659801c948042b2
tree 61787301a12c50d84aea46279f233a323dbebc98
parent 81f045298bdd73bed90bbddee2e07ba7c280b21b
tree 61787301a12c50d84aea46279f233a323dbebc98
parent 81f045298bdd73bed90bbddee2e07ba7c280b21b
juice /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sun Oct 25 12:39:37 -0700 2009 | |
| |
CONTRIBUTORS | Tue Oct 27 14:47:24 -0700 2009 | |
| |
LICENSE | Thu Oct 01 12:03:42 -0700 2009 | |
| |
README.markdown | Wed Nov 04 14:31:04 -0800 2009 | |
| |
bin/ | Tue Oct 27 13:00:07 -0700 2009 | |
| |
install.js | Sat Oct 24 14:04:35 -0700 2009 | |
| |
lib/ | ||
| |
packages/ | Sat Oct 31 12:11:26 -0700 2009 | |
| |
skeleton/ | Mon Oct 26 16:58:58 -0700 2009 | |
| |
t/ | Wed Oct 14 16:02:02 -0700 2009 | |
| |
tests/ |
README.markdown
Juice? JavaScript? WTH?
A server-side Javascript webframework built on top of the JSGI protocol. Well, the version 3 proposal using the built in asynchronous Zest HTTP server.
If you like JS as a language, and clearly I do, then hopefully you'll get on with Juice:
var juice = require('juice');
var app = new juice.Application;
app.controllers.index = function() {
return {
status: 200,
headers: {},
body: ["Hello Juicers!"]
}
}
app.urls = { "/?" : { action: "index", raw: true } };
exports.app = app.setup();
There's more to it than this obviously -- check out the getting started guide for an more thorough introdruction to the basics.
Juice is currently known to run on Flusspferd, and should run on other CommonJS platforms in the future -- it just hasn't been tested yet.
As for running your Juice app - well it ships with its own development server (which performs surprisingly well) and a CGI version for easy deployment. Version 0.2 will have FastCGI support.








