In my last post, I spoke about Richardson Maturity model and its useful to demarcate web services based on their implementation maturity. We also understood, how CRUD Web Services fall under Level2 in Maturity model. Let's take an example of CRUD Web Service developed with Tornado. In this example, we develop a 'blogger' Web service … Continue reading Tornado – CRUD Web Services
Tag: JSON
MongoDB: Convert BSON to JSON
MongoDB stores data in the form of JSON-like documents and uses BSON (binary encoded data format) to serialize the documents for storage and data transfers. MongoDB is great at BSON objects, but that's not convenient all the times. Consider, you are developing a Webb App that requires server side implementation to render JSON objects? … Continue reading MongoDB: Convert BSON to JSON
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
Intro to Mongodb
I came across MongoDB a few months ago and have taken decent strides to understand it. This post is to introduce MongoDB to the readers along with basic installation and setup steps on Ubuntu10.04. MongoDB Falls under the family of NoSQL database Unlike relational database (row/column), its a document based database Provides indexing, dynamic querying … Continue reading Intro to Mongodb