18 Feb
Posted by Elf Sternberg as Design, web development
I recently implemented a new subsite for IndieFlix using LessCss, the Leaner CSS metaframework. LessCss is a programming language that abstracts CSS out into a hierarchal language, where instead of writing:
#header { … }
#header img { … }
You write:
#header {
…
img { … }
}
Which, believe me, makes [...]
16 Feb
Posted by Elf Sternberg as Design, web development
Sharper FX
They do nothing but churches. Black churches, too. Sharper FX is an 11 on the scale of Manliness. Watch some of the Flash splash pages. They’re amazing. I love this site.
A friend of mine pointed me to the website of CB Richard Ellis, a real-estate investment and management house with a big footprint here in the Pacific Northwest.
Their hiring website is a horror. No, really, go look, unless you’re an epileptic. (Sadly, the effect only seems to be present for [...]
10 Dec
Posted by Elf Sternberg as javascript, programming, web development
I had a job interview today, and one of the “challenges” with which I was presented was this: “We own several sites. We would like our user to be able to log into the central site as a subscriber, and then all the other sites will know what permissions that user has.”
The sites are [...]
While visiting with friends and family this weekend, I ran into a long-missed flame who said she was frustrated because she’d gone back to school to renew her web design business, last heard from about a decade ago, but the school seemed insistent about teaching her programming instead. Her head was full of PHP [...]
24 Nov
Posted by Elf Sternberg as django, programming, python, web development
So, I got tired of the way Django-SocialAuth was borked and not working for me, so I forked the project and have put up my own copy at GitHub.
There are three things I noticed about the project right away: First, it forces you to use a broken templating scheme. I haven’t fixed that, but [...]
20 Nov
Posted by Elf Sternberg as programming, python, ruby, web development
This is part 4 of a series.
So far, we’ve written a basic Django application, written some tests for it, checked everything into a central repository, and then integrated those tests with the Hudson continual integration server.
But Django’s tests run in a kind of pseudo-server mode, with both the tests and the application running inside the [...]
Parsing HTML with regex summons tainted souls into the realm of the living.
If you hack HTML for a living, this will make you giggle. And given that I’ve used regex in my tests to assert the presence of classes and objects in a page, I guess I’m guilty.
12 Nov
Posted by Elf Sternberg as django, programming, python, web development
This is part 3 of a series.
In part 1 we set up a Hudson test server, and in part 2 I introduced a simple Django application with some simple tests.
Now we’re going to make Hudson run those simple tests. Prerequisites: Your box for running this application must be able to run both Hudson and [...]
12 Nov
Posted by Elf Sternberg as django, programming, python, web development
This is Part 2 of a series.
Before I demonstrate how to do continual integration testing, I need a demonstration application. I’ve chosen a simple Django application, your basic echo program, with no styling or media at all. This ought to be more than enough to demonstrate base functionality.
A New Django Project
Start by building [...]