Another great event I attended this year.. PyCon India 2012, was better organized, had better talks, more audiences, job fair and more fun than ever before.. 🙂 Not to forget the evening dinner for speakers 😉 I loved every bit of it.... talking to experts, talking to Python enthusiasts, answering their Qs and wondering why … Continue reading Abstraction in Search
Tag: Python
Tornado – Redis
As defined on Redis website, it is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists among others. It's similar to say memcached library in the sense that it ia an in memory key/value pair but persistent on disk.. Redis has … Continue reading Tornado – Redis
Tornado – Autoreload
One of the most irritating (i would say) things about web development is about restarting your web server whenever there's a change in the code base or the template files to test if the development change has been propagated correctly... If you're a web developer you know exactly about the agony I'm referring to... Well, … Continue reading Tornado – Autoreload
Tornado – Escape – Json
Tornado web server exports methods for escape/unescape html, xml, Json among others. This blog discusses about encoding and decoding JSON format. Tornado has the following methods: tornado.escape.json_encode(value) - JSON'ify the Python object passed to it as argument tornado.escape.json_decode(value) - Converts the JSON string into Python Object Here's a usage example: https://gist.github.com/3478215 In this example, 1. … Continue reading Tornado – Escape – Json
Tornado – Web Sockets
WebSocket (RFC 6455) protocol provides bi-directional (or duplex) communication between web server and browser. Communication typically happens over a single TCP connection and is used to facilitate interaction between web server and browser like live streaming and real time content delivery. It is crucial to note that WebSocket is non standard HTTP connection where … Continue reading Tornado – Web Sockets