Understanding node.js

Essentially Node has an approach of making I/O operations non-blocking. All the I/O operations run independently and generate an event when they are done.  Node follows an execution model of having an event loop (a concept existing in JavaScript) that handles events that are generated by I/O operations ( like database, HTTP requests, file I/O … Continue reading Understanding node.js

Node.js

This is an introduction post to node.js.. Node.js is an event driven, non blocking (async) I/O style software that is used to develop server side implementations. (If you're a Python fan, it's like programming in Twisted!). It's also built on Google's V8 JavaScript engine. Like other event driven servers, Node.js, runs an event loop and … Continue reading Node.js

Selenium with Python bindings

After a lot of posts on Tornado web server and understanding BDD, lets get to testing our website. What better than to you selenium. Lets go through the setup and create our first test.. Prerequisites 1. Python bindings for Selenium - Go to, selenium site and download the package Install as: tar xvf selenium-2.25.0.tar.gz cd … Continue reading Selenium with Python bindings

Django setup on Ubuntu

  Setting up a django website calls for (though not always): django installation configuring Apache mod_wsgi others like database servers, static file server etc Now if you are developing a small scale website, you may not want to go the Apache, mod_wsgi way.. Django helps here by providing a development web server, so that you … Continue reading Django setup on Ubuntu

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