Thursday, November 13, 2008

Stuff: A Brief Pyjamas + Django Tutorial

Stuff: A Brief Pyjamas + Django Tutorial

So, pyjamas is a python port of the google web toolkit.
http://pyjs.org/book/output/Bookreader.html
You write python, it generates javascript.

It turns out pyjamas includes an addon that allows one to access the canvas.

So pyjamas might also be a royal road to the canvas.

Django is python's answer to Ruby on Rails.

A Brief Pyjamas + Django Tutorial

Intro:

Django is a web framework written in Python. Pyjamas is a Python port of the google web toolkit (written in Java). Pyjamas can be used with Django to create web applications.

In terms of an MVC framework, Django acts as the Model and Pyjamas acts as the Views and Controller.