Primary Keys in URLs
A point worth repeating from Bill de hÓra’s recent post is:
“This is not an architecture thing, but please don’t use primary keys in URLs. Doing so fails to encapsulate the implementation details of the software/persistence from the web; pks aren’t a basis for stable URLs.”
Read in conjunction with Noah Slater’s comment at the end, and don’t overlook the irony of the primary key in the URL of my own post.
December 3rd, 2007 at 10:46
Not only that but you have “.php” in your URI. Ouch!
December 11th, 2007 at 8:23
The shame of it. I’ve fixed both issues, hopefully without breaking any existing links or causing any other unpleasant side effects.