3 ms·
How possible would it be to use something like Spark or Derby.js's Racer in a django site? I like the realtime concept/behavior but I want to keep developing i
by sebastian 14y ago
How possible would it be to use something like Spark or Derby.js's Racer in a django site?
I like the realtime concept/behavior but I want to keep developing in django.
- shykes 14y agoFor the real-time data synchronization part, try dropping dotCloud JS into your Django app: http://js.dotcloud.com http://js.dotcloud.com It doesn't do live templating, though.
- sebastian 14y agoBut, how much would I need to write to update the data in realtime as it changes in the backend?
- shykes 14y agoSomething 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/ http://jsfiddle.net/q2q8b/31/