Fork me on GitHub

Djsango

A Django-esque framework for client-side web applications

“Djsango” is pronounced /dʒəˈsæŋɡoʊ/ with the second syllable stressed, unlike “Django” which is pronounced /ˈdʒæŋɡoʊ/. The extra ‘s’ in the name comes from “js” as in JavaScript: D + js + ango.

Example Demo: http://westonruter.github.com/djsango/examples/demo1/

Tests: http://westonruter.github.com/djsango/tests/

Djsango.urlPatterns.add(/^$/, function(req){
	return "HOME PAGE";
});

var adderApp = new Djsango("Adder");
adderApp.urlPatterns.add(/^(\d+);(\d+)$/, function(req, add1, add2){
	return parseInt(add1) + parseInt(add2);
});
Djsango.urlPatterns.include(/^adder/, adderApp);

//...

Djsango.init();

License

MIT/GPL

Authors

(@westonruter & GitHub)

Developed at Shepherd Interactive

Download

You can download this project in either zip or tar formats.

You can also clone the project with Git by running:

$ git clone git://github.com/westonruter/djsango

Get the source code on GitHub : westonruter/djsango