Posts

Showing posts from December, 2012

Flask - WSGI micro framework based on WerkZueg and Jinga2

Flask  a WSGI (Web Server Gateway Inteface) for python based on WerkZueg and Jinga2 .   WerkZueg is a toolkit for WSGI, the standard Python interface between web application and a variety of servers for both development and deployment.   Jinja2 renders templates. How to Install flask: There are many ways one could install flask but virtualenv is one interesting way to do this.  virtualenv: Virtualenv is the best way to deal with multiple version of python and it's modules during the development and production too. Virtaulenv help's solve the problem of separating out multiple versions of python and its modules and give us the flexibility of switching between multiple version of python in a sane way. Helping us maintaining multiple version doesn't mean that Its going to install separate copies of python but it does provides a smart way to keep different project environments isolated.  How to Install virtualenv:  mac: $ sudo easy_install virtualenv or $ sudo pip install v