In my last two articles, I looked at the Django Web application framework, written in Python. Django's documentation describes it as an MTV framework, in which the acronym stands for model, template ...
I'm pretty sure this is possible, but I haven't done it so someone with more Django experience should probably speak up.