Coder’s Eye

A site about one of the three passions in my life.

Coder’s Eye header image 4

Entries Tagged as 'Best Practices'

Django Formatter Mixin Class

December 27th, 2006 · No Comments

I’ve always disliked having to write __repr__ methods for my classes. In Django, it is especially important, since the admin pages use that method to give you Python is moderately unusual in that it allows classes to have multiple inheritance.

[Read more →]

Tags: Tips · Django · Open Source · Python

Simple, degradable Flash embedding using jQuery

December 24th, 2006 · 7 Comments

Now that I am doing professional web layouts for clients, I find myself appreciating the quick, easy, and well-documented jQuery library. I just don’t have time to hassle with Dojo and its size, widgets I don’t need, and messy documentation.

[Read more →]

Tags: Languages · Best Practices · Javascript

Converting WMA to MP3 on OSX or Linux

October 3rd, 2006 · 3 Comments

Finding this technique took more time than I thought it should, so I thought I’d share a quick and simple music transcoding tip.Converting WMA to MP31) Get mplayer and lame installed.

[Read more →]

Tags: Tips · Macintosh · Linux

A Django Killer App - Web Table Data

September 12th, 2006 · 2 Comments

Yet another great use for Django is to make trivial the creation of shared tables & forms for internal projects.

[Read more →]

Tags: OS · Tips · Django

Google Checkout - Initial Impressions from a developer

August 7th, 2006 · 2 Comments

This weekend I wrote my first Google Checkout integration module.

[Read more →]

Tags: Reviews · Best Practices · Python

Discovered the killer combo of Pysqlite and SQLObject

June 8th, 2006 · 2 Comments

At work, I’m doing a bunch of data acquisition on various machines outside the firewall. I think I’ve hit on an absolutely great combination of Python technologies to do this in a really manageable and scalable manner.
The design constraints:

No long-running processes. These are heavily loaded boxes. The data acquisition will run via […]

[Read more →]

Tags: Design · Libraries · Python

Best flow schedule?

April 23rd, 2006 · 2 Comments

What is your most productive dash/break schedule? I mean, when you are at your peak “flow” level, or more likely when you are trying to evoke your I’ve been thinking about this and experimenting a bit lately. It is a tough one to optimize since there are so many variables involved.

[Read more →]

Tags: Best Practices

Django on Rimuhosting

April 13th, 2006 · No Comments

This is just a quick post to confirm that Django does indeed work perfectly on Rimuhosting with very little effort required to set up. It is fast, it connected to my Mysql db without a peep of a complaint, and it is making me a happy developer.
Setup details
I’m using Rimu’s “MiroVPS3″ plan. It […]

[Read more →]

Tags: Hosting · Tips · Django · Python · Uncategorized

Why am I writing an ecommerce engine from scratch?

April 4th, 2006 · 4 Comments

Sometimes I have to remind myself why I am writing a brand-new shopping cart and product management system.

[Read more →]

Tags: Design · Django

Coding Flow and Techniques

March 4th, 2006 · 3 Comments

Any programmer will tell you that one of the characteristics of really getting into a programming "flow" is that your mind is completely engaged.

[Read more →]

Tags: Reviews · Best Practices · Django