Compiling uWSGI from sources
Friday, June 3rd, 2011 10:33 am GMT +2

uWSGI

 

As you probably know, uWSGI is a fast application container for serving your webapps. It is often used with Django against nginx webserver. Written in pure C & having a lot of other cool features.

It seems that installation of uWSGI is pretty simple according to official docs but it isn’t.
Continue reading →

Using Buildout system on Windows
Friday, April 22nd, 2011 11:30 am GMT +2

Okay, so you’ve heard something about buildout system, and started to use it. Once upon a time, your project is required to be deployed on Windows host. Let the show begin…

Buildout is extremely powerful, yet very simple to use tool to do automatic deployments. Imagine, that you need to deploy your app on some random unknown generic Linux host, where there is nothing but gcc and a few system tools (python included) — what a pain in the ass this could possibly be? Having to deal with manual installation of different packages (versions nightmare included) is such a pain. I don’t even want to consider what to do if you don’t have a root access rights on target machine.

Buildout is built by the Zope/Plone team to tackle all above mentioned problems. The only problem, though, is that it works smoothly only on *nix environments, which is not our case.

So, if there is absolutely no way around for you but deployment on Windows, read more.
Continue reading →

Make use of Google Spreadsheets in your php scripts
Friday, April 8th, 2011 06:59 pm GMT +2

Ever wanted to integrate Google Spreadsheets with your application? This post describes a simple way of how you can do it using simple php script.

Step 1. Create sample google spreadsheet with random data

Here is how it might look like:

Continue reading →