Simple test of server and client side rendering of templates
Python JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
blog.py
json-template.js
jsontemplate.py
post.html
posts.html
posts_json.html
posts_partial.html

README

A simple blog with that can render templates both server-side and client-side.

Bolted together with Tornado for long-poll support.

Point browser A to http://localhost:8888/posts and browser B to http://127.0.0.1:8888/posts
When posting a message in either browser, a new post should appear in the other browser (rendered client-side by the browser).

Less than 100 LOC including used templates.