One of the more common design patterns in installable web applications today is the Front Controller pattern. Unlike other web applications that have separate files to respond to specific requests, the front controller pattern funnels all requests through a single file, and that file processes the requested URL to respond as appropriate.
In typical scenarios, you'll accomplish this with Apache using a set of mod_rewrite directives. These directives first check to see if the requested file or directory exists. If it does not exist, then the request is passed on to the front controller. This allows requests for existing files - like images, stylesheets, and client-side scripts - to be requested directly rather than passing through the URL rewriting mechanism.
If you are familiar with implementing a front controller using Apache, you will recognize these directives, which are commonly found in an .htaccess file within the application directory:...
more
I was just poking around looking at some domains today, and checked in on the .com version of this site. I know it's been squatted on for some time, and I'm always shocked at how much money they're asking for it. Who else is going to want that domain but me, and who do they really expect is going to pay $7088 for it? That's crazy.
Is there no way we can fairly determine who is squatting on a domain and make them stop? There's this whole (I'll call it) black market of people selling domains that they're not going to use for anything except to extort money from people who could put them to good use. Apart from BuyDomains.com, there's that awful site Sedo.com, that encourages regular people to do the same thing. It's horrible. I have a very low opinion of people that make money this way.
There should be an alternate registrar that disallows this behavior. You should be able to point their DNS servers, and it'll serve you the address that better applies to that domain. For example, if I've registered asymptomatic.net with the regular servers, and my site is deemed to be neither squatter or spammer, then you'd see my site. If I then register asymptomatic.com with this alternate service, they would evaluate the best use of the .com domain - whether it be the existing squatting site or a mirror of my .net content - and then serve the IP address of the server they deem best....
more
Man, this week has been difficult. We've had a few server issues with work clients, and I've been playing around with my own servers, and it's just been a mess that I'm hoping will be in the past come next week. But I've learned some lessons, and I figure I might as well pass them on because people are apparently still buying hosting from really bad places.
What do I need? This is the most basic question you need to start asking yourself before you even hunt for hosts. Having some idea of your demands, both from a technical perspective and a logistical perspective can save you some pain in the future. Here are some really basic considerations:
Shared/VPS/Dedicated -- What level of hosting you choose will depend on the types of service you intend to run and the affordability of storage space. Shared hosting is for small, single, low-traffic installations, like a single blog or a low-traffic forum. VPS hosting allows you to interact with the server configuration directly, to host more complex applications and more of them. Dedicated hosting gives you full control over what runs on your system, plus often includes dedicated storage that is many times what you'd get from the other options. But there are more things to consider....
more
We had a discussion at work the other day, and again on IRC recently, about what to name our computers. At first this might sound like a silly thing, especially to people who use a single home computer, but for people with more than one at home or who use computers every day at work, it's something that you probably end up thinking about at some point.
All of my computers at home are named after "characters" in books. This computer is Defiant, named after a spaceship in Bill Baldwin's Galactic Convoy novel. My file server is Naruto after the manga character, and my notebook is named Runcible, after a much higher-tech device that is the center of the Neal Stephenson novel The Diamond Age.
I tend to be pragmatic about my server naming because there are just too darn many of them to remember, but many people and organizations give them more fanciful names. For example, A Small Orange uses characters from the show Lost to name their servers, as I noticed when editing some of my content on Hurley....
more
I've spent a good bit of time over the past week (probably to Chris' chagrin) working on media functionality for Habari. You can see my quick, obviously unrehearsed screencast describing all of the features visually if you don't want to read my post.
Essentially, media in Habari is about unifying all of your media sources inside your blog software so that you don't have to go running from place to place to assemble a post. In other words, making it easy for the user. I have a pretty common scenario that I use when I start into my diatribe about Habari media.
Paying for hosting is a pain in the butt, especially if you use a lot of photos or audio. Anyone with any sense uses a service like Flickr to house their photos and link to them from their blog. It's simply more cost effective. The trouble is that integrating these services with the interface you're already using to write your blog. Habari is great at this....
more