Real time web application using Django, Tornado and SockJS
Mayank Jain (~jainmickey) |
What is a Real-time Application?
Real-time web applications are what used to be known as AJAX applications or Single-page applications. Except that, now we are not talking about just submitting a form without refreshing anymore. Upon an event, the server is supposed to push data into the browser enabling a two-way communication (thereby, making the terms Server and Client moot). To the Facebook crowd, this means that the application can notify them about events like your friends liking your post or starting a new chat conversation live - as and when it happens. The application will give you the impression that it is “alive”, in the sense that traditional websites were pretty much stale after the page has been loaded.
Can Django Adapt?
Tornado is a scalable, non-blocking web server and web application framework written in Python. It was developed for use by FriendFeed; the company was acquired by Facebook in 2009 and Tornado was open-sourced soon after.
Python programming, Basics of django framework