using id's vs names in the url

Albert Ting altlst at sonic.net
Wed Dec 8 19:45:11 UTC 2004


Is it consider bad form to use id's in the URL?  That is, instead of

    http://bugzilla/editproducts.cgi?action=edit&product=foobar

we do 

    http://bugzilla/editproducts.cgi?action=edit&product_id=30

I do see we use ids in html and I think the new graph package uses ids.

My reason for asking is that I'd like to see product names be unique only
within a classification.  One could always pass both the classification and
product names, but a number of the low level functions is based on just the
product name.

This is more of a curiosity as I don't have the time right now to enhance
it.  But it's something I've been thinking about.

Albert



More information about the developers mailing list