Hacker News new | ask | show | jobs
by shykes 5040 days ago
For the real-time data synchronization part, try dropping dotCloud JS into your Django app: http://js.dotcloud.com

It doesn't do live templating, though.

1 comments

But, how much would I need to write to update the data in realtime as it changes in the backend?
Something like this:

    var people = dotcloud.sync.synchronize('people');
    people.observe(function(type, change) {
        // Update template here
    });
There's a live demo here: http://jsfiddle.net/q2q8b/31/