A while back I was reading this post about creating a simple CMS in Grok. Similar to the author over there I often get questions from friends and family who want to build a simple website about what I’d recommend. I still haven’t figured it out. Most of …
All articles
Documents vs. Objects
Let’s imagine we live in a late binding world, a programming world of messages, what should that look like? What does it look like in the large?
The Smalltalk notion of this is many, many independent referencable objects. Objects all the way down. So you might get something like …
What PHP Deployment Gets Right
With the recent talk on the blogosphere about deployment (and for Django, and lots of other posts too), people are thinking about PHP a bit more analytically. I think people mostly get it wrong.
There are several different process models for the web:
- CGI, where every request creates a new …
Java BDD
I notice there’s another Behavior Driven Development framework for Java called Instinct (via). I have commented on BDD before.
Here’s an example test:
import static com.googlecode.instinct.expect.Expect.expect; import com.googlecode.instinct.marker.annotate.BeforeSpecification; import com.googlecode.instinct.marker.annotate.Context; import com.googlecode …
Prism
I’ve seen talk of MS Silverlight and Adobe AIR. People talk them up like the future of web applications or something. I don’t know much about them, but I almost completely certain I don’t want anything to do with them.
Here’s a general rule I have …
Logo
So Logo is 40 years old. I’ll take this as an opportunity to talk about Logo-the-language (as opposed to Logo-the-graphics or Logo-the-educational-experience). It’s a much better language than most people appreciate.
Logo is Lisp. It’s an old Lisp but it’s very Lisp. Let’s look at …
Workingenv is dead, long live Virtualenv!
A lot of people have found workingenv useful, but it’s always been a bit fragile. If you’ve seen the .../site.py is not a setuptools-generated site.py; please remove it. message, you know what I mean.
For a while I tried to refactor and improve workingenv, but it …
lxml.html
Over the summer I did quite a bit of work on lxml.html. I’m pretty excited about it, because with just a little work HTML starts to be very usefully manipulatable. This isn’t how I’ve felt about HTML in the past, with all HTML emerging from templates …
2 Python Environment Experiments
two experiments in the Python environment. The first is virtualenv, which is a rethinking of virtual-python.py, and my attempt to move away from workingenv. It works mostly like virtual-python.py, and on systems where it works (not Windows, nor Framework Mac Python) I think it works considerably better than …
FlatAtompub
A little while ago I decided to whip up a small Atompub server to get my head around the Atom Publishing Protocol. I called it FlatAtomPub because it was just storing stuff in flat files. I’m not committing to that name. It was also a chance to kick the …