Coder’s Eye

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

Coder’s Eye header image 4

Entries from August 2007

Setting up Satchmo on a Debian Server

August 23rd, 2007 · 3 Comments

At the request of people on the satchmo-users mailing list, here’s my step-by-step guide to installing Satchmo on a Debian server.Debian is a wonderful base for Satchmo, much easier to set up and maintain than RedHat in my opinion.

[Read more →]

Tags: Satchmo · Lighttpd · OS · Hosting · Linux · Django · Python

Why you should use Caching in your webapp.

August 21st, 2007 · 5 Comments

For my Django apps, I use a cache manager application I wrote in a brainstorm fugue state a couple months ago. I really needed it for my still-in-testing InvisibleCastle gaming site rewrite, since I do so many lookups and repetitive viewing of the same information.Once I’d written and debugged it - which took longer than I’d have liked, of course - I started using it as a matter of course in all my client projects. Then last week I had another brainstorm and actually wrote a quick set of management pages for it. Now I can observe the cache in operation, clear it, or even a subsection of it.

[Read more →]

Tags: Best Practices · Django · Python

Django and Lighttpd init script and config for SSL.

August 20th, 2007 · No Comments

I’ve gotten a lot of interest in my posting about my SSL configuration for Django/Lighttpd.

[Read more →]

Tags: Lighttpd · Django · Linux

Adding AIR mimetype to Lighttpd

August 20th, 2007 · No Comments

If you tell Lighttpd about the mimetype for your AIR apps, then your users will be properly prompted when they click on the files to download/install. If not, then their browsers will complain about unknown file types.

[Read more →]

Tags: Lighttpd · Adobe AIR

How to do HTTP Basic Auth in Ajax

August 16th, 2007 · 7 Comments

You can use HTTP Basic Authentication with Javascript/Ajax in just three steps. I’ll give you them in just a moment.
The Background
This morning, I was experimenting with Adobe AIR, writing a client to tell me whether I have games waiting for me to make a move on Weewar, and I needed to be able […]

[Read more →]

Tags: AJAX · Javascript

Weewar - a fun online game

August 12th, 2007 · No Comments

This morning, I started playing a great new online game, Weewar. which reminds me of old-school “empire” from my Amiga 800 days.

[Read more →]

Tags: Uncategorized

Django and Lighttpd configuration for smooth SSL

August 10th, 2007 · 3 Comments

I use and prefer Lighttpd for serving my Django applications. Tonight I worked out a nearly perfect configuration which allows me to serve the app through fastcgi in both http, and SSL-enabled https. The media files are directly served by Lighty, without hitting the django backend at all, for maximum speed.
Better yet, this […]

[Read more →]

Tags: Hosting · Tips · Django

Why I’m moving from jQuery to ExtJs

August 9th, 2007 · 34 Comments

This week, I’ve switched favorite Javascript frameworks. I was a heavy jQuery user, and still think that the framework is very nice. As part of a discussion on the Satchmo-Developers list about what Javascript framework to use as the default for the Satchmo web shop framework, I ended up doing a survey of […]

[Read more →]

Tags: Reviews · Javascript

Spamato after two weeks - incredible

August 3rd, 2007 · 3 Comments

After two weeks, I’m pleased to report that Spamato has been the best, most accurate spam killing solution I’ve ever tried.
In fact, the crazy truth is that I sometimes find myself wondering whether something is wrong with my mail. “I’m not getting any mail, that’s odd.” I’m just not used to sometimes checking my […]

[Read more →]

Tags: Reviews