Building a Site With Clean URLs
As an aside in my post about Cambrian House I posted some code for making pretty URLs. A few people (no, not CH) have asked for a little more info, so I've written up an explanation of that code.PHP...
View ArticleBuilding Clean URLs Into a Site
I wrote about building a site with clean URLs, but that's useless to you. No, you've got a creaking hulking monster of a site that coughs up URLs like "render.php?action=list_mailbox&id=42189", was...
View ArticleFlintstoning Toasters
I picked up the term "flintstoning" from my visit to Cambrian House. It's the practice of substituting a little human work for functionality until there's enough demand for the feature that it's worth...
View ArticleProgramming Is Like Sex
because...One mistake and you have to support it for the rest of your life. (Michael Sinz)Once you get started, you'll only stop because you're exhausted.It often takes another experienced person to...
View ArticleTidy Stylesheets in Rails
It's very easy for a site's CSS to grow a single giant, brittle stylesheet. It becomes impossible to change anything because of bizarre interactions between elements, unexpected interactions, and...
View ArticleRails Makes Valid XHTML Easier
I'm working on a Rails site in my Copious Free Time and I wanted to share a little way that Ruby made my life easier. I'm making my pages valid XHTML 1.0 Transitional because it makes life easier to...
View ArticleGET and POST variable hashes in Ruby on Rails
In Rails, you access GET, POST, and routing variables through the params hash. This works almost all the time, except when you duplicate a variable name: routing overwrites GET overwrites POST.For an...
View ArticleBarking Stapler
I've left Cambrian House to work full-time on my own company, Barking Stapler.Over the next few months, I'm going to grow NearbyGamers into a business that can support me. Yes, I know it's not a...
View ArticleRails 1.2.1 Impression
I'm updating NearbyGamers to Rails 1.2.1. Nothing broke except my use of assert_tag in my tests; it's been long-regarded as squicky and has been replaced with assert_select. As I'm tidying up some...
View ArticleAdd Feed Discovery Links Easily
I'm working on discussion forums for NearbyGamers and I'm building the first feeds into the site. I worked up a clean way to add them from my controllers similar to my tidy stylesheets code. Here's how...
View Article