Skip navigation

The Obama Constant


(in b4 inauguration)

We had a stupid problem with migrating from ugly urls to pretty ones.

e.g. from to

It was easy to fix in production, but all the dev environments we’d taken for granted would now be broken.

Every proposed solution had drawbacks, which ranged from tedious to complicated. And then, we arrived at one solution filled with hope and promise. This constant promised to

fix multiple problems now, and everything in the future.

As such, it was given the only fitting name: The Obama Constant

Date: Monday January 12, 2009 @ 13:31
Author: chris

Update of /usr/local/cvsroot/web
In directory /tmp/cvs-serv887

Modified Files:
Tag: DEV-SCALE abar_pg_template
Log Message:

The Obama constant: fixes multiple problems now, and everything in the future.

One liner in the page-opening section to establish a js constant: ab_url_localpath, which gets its val from AB_URL_LOCALPATH.

Lets us build ajax URLs explicitly w/o running into trouble in dev trees and anywhere else we might have fake "readable" URLs. Everybody wins.

Indeed, everybody wins.


One Comment

  1. Posted January 20, 2009 at 7:51 am | Permalink

    Well played. Nice job of tying in current dev progress to the world stage. And a good update as well!

Post a Comment

You must be logged in to post a comment.
%d bloggers like this: