web development war stories from the frontlines to the backend

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

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 [...]

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

Send this to your significant other/parent/relative/friend so, instead of that sweater, you get one of these nuggets of awesome this Christmas.
The Pragmatic Programmer: From Journeyman to Master
Write better, cleaner, more maintainable code. Learn how to manage your projects and focus on shipping your product. With insight that covers the gamut of software development [...]

This is an update to my previous how-to Setup Python 2.5, mod_wsgi, and Django 1.0 on CentOS 5 (cPanel).
The biggest reason why I chose to go with Python 2.5 at the time was because the MySQL Python (MySQLdb) package didn’t support Python 2.6. The 1.2.3c1 release does so that roadblock is lifted.
The instructions are [...]

Read my previous two posts on Django and Python – Part I and Part II
I’ve been working on a project management tool suite in Django. It’s been a great side project to really experiment with Django in real-world scenarios.
Forms
At times I feel like I fight with newforms. In particular, it lacks the ability [...]

The Django project just announced that v1.1 is ready! Go here for the full release notes.
Some notable changes include support for aggregate functions from within the ORM. This includes COUNT(), MAX(), MIN(), etc.
Also, the concept of “unmanaged” models which allow you to easily support tables that pre-existed or were created by some other [...]

DISCLOSURE: I was sent this sample chapter by the publisher. I’m sure some of you folks will find it useful so I’m posting it. For a review of the book go here.
Download Sample Chapter 6 “Serving Multiple Templates”

I like Python. I like Ruby. I like C, C++, and Objective-C. I like Java. I also (actually) like PHP. I like programming – get it? Use whatever gets the job done and done well. Use whatever achieves the performance and scalability you require for a given task. [...]

« Previous Entries  Next Page »

Recent Posts

Categories

Archives