Posts Filed in "Django"

28

Feb

Filed in Code, Django with View Comments |

So today I went ahead and cleaned up my UUIDField implementation. Originally it was just based off of a snippet. I wanted to swap it over to use a BINARY column in MySQL, after reading on how FriendFeed had been using UUIDs. Due to using Django however, you can’t use binary data or BLOB columns [...]

9

Feb

Filed in Code, Django with View Comments |

One of the repetitive tasks that I always seem to have, is handling large amounts of data in chunks. That is, typically I loop through every row in the database, but the result set is too large, or too slow to take into memory all at once. After reading my code a few too many [...]

29

Dec

Filed in Code, Django, Lifestream, Python with View Comments |

In the Lifestream service I’ve been working on, I presented myself with the need to have some class abstraction, but not in the fashion which is available in Django models. I wanted to achieve a base class, which is stored in the database, and then child classes which simply override some methods. It turned out [...]

2

Dec

Filed in Code, Django, Python with View Comments |

As a sort of challenge to myself, I once again attempted to recreate ticket #17 as a standalone component. After a few hours, and some previous code I had written as a good guide, it seems to be working. So I’d like to announce django-idmapper.
The goal of the project is a simple plug-and-play system for [...]

1

Dec

Filed in Code, Django, Python with View Comments |

One of the optimizations (if you want to call it that) that can be done for decreased load-time on a web page, is removing excess white space. In many of our pages at iBegin this saved as much as 100kb. While not every site has some of the 300kb pages that we have, it can [...]

7

Nov

Filed in Django, iBegin with View Comments |

As many of you know, I’ve been working on things over at iBegin for the past 6 months. One of the things we did was a complete rewrite of our platform which includes a local business listings directory. While doing this, I had the goal in mind to make it as scalable as possible, and [...]

17

Oct

Filed in Code, Django, SEO with View Comments |

The last few weeks have had a lot of work related to SEO/SEM both at iBegin and on random sites of my own, like Nibbits. On iBegin we’ve been tweaking our robots handling, meta descriptions, and titles, all to try and get the most out of Google. We’ve also found we’ve needed to do much [...]

28

Sep

Filed in Django, iBegin with View Comments |

So we’ve been pushing live some changes the last few days over at iBegin. The biggest one is our brand new Django-powered website. The reason I bring this up, is to show all the haters out there, that Django really can scale well if you’ve designed your architecture properly from the get-go.
We haven’t been able [...]

28

Sep

Filed in Code, Django with View Comments |

For most of my sites, and for iBegin especially, we rely heavily on our database. Today we went through a distro upgrade for the database server, and it occurred to me, that we had no good solution for handling these kinds of situations (auto-magically even). I quickly through up a middleware which takes (MySQL only) [...]

25

Sep

Filed in Code, Django with View Comments |

One of the projects that I’ve been spending a lot of time with is the django-debug-toolbar. It was started off by Rob Hudson, and since has had huge amounts of support. While my fork is quite a ways off of Rob’s, they’re both quite useful in their own right. To clear up one very annoying [...]

« Previous PageNext Page »