web development war stories from the frontlines to the backend

I’ve been working with Python’s Tornado for about 2 months now and I love it. Tornado is a non-blocking web server written in Python. It’s structure is similar to web.py so users of that popular Python web framework will feel right at home. This is a structure that lends itself really well to developing RESTful [...]

Over the last few days I released my first open-source plugins on GitHub. google-define – Extracted from a side project I worked on, it’s basically a wrapper class for parsing definitions from Google (define:perplexed). last-fm – This plugin was inspired by a previous gist, which itself was taken from an app I wrote to aggregate [...]

I recently had to use the FormStack API in the context of a Rails app. You need to make these calls over SSL, and API returns either XML or JSON. I chose JSON because it’s much easier to work with in my opinion and I hate XML. Below is a simple example. Check out the [...]

Often times you’re tasked with solving a problem you haven’t faced before, requiring the use of technologies you haven’t previously been exposed to. This is a great thing! These experiences are the stuff of legend – continuing deep into the night as your curiosity peaks. When delivery of the solution makes a difference to somebody’s [...]

Python’s multiprocessing module is a great tool that abstracts the details of forking and managing child processes in an interface inspired by the threading module. The benefit to using processes over threads is that you effectively avoid the issues of the GIL (Global Interpreter Lock). I wanted to share my experience with sharing static data [...]

For one off scripts for a particular project: #!/usr/bin/env python from django.core.management import setup_environ from myapp import settings setup_environ(settings) # do some stuff

I find it interesting and challenging to bend PHP in ways it probably shouldn’t be bent. Almost always I walk away pleasantly surprised at it’s ability to solve a variety of problems. Consider this example. Let’s say you want to take advantage of more than one core for a given process. Perhaps it performs many [...]

Just a quick note alerting everyone to the fact that jQuery has gotten EVEN EASIER AND FASTER. Go check out the release notes.

I finally got around to setting up a more sophisticated deployment system for some of my apps. These apps include some built on a custom PHP framework and others that are Python / Django apps. I figured I’d share my experience… Why is a high-level deployment infrastructure important? Deployment is something that should be simple, [...]

Many (awesome) changes http://blog.jquery.com/2010/01/14/jquery-14-released/. View the release notes here: http://jquery14.com/day-01/jquery-14

« Previous Entries  Next Page »

Recent Posts

Categories

Archives