using id's vs names in the url

Vlad Dascalu vladd at bugzilla.org
Wed Dec 8 22:48:27 UTC 2004


Albert Ting wrote:

>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 don't think that it's bad form, nope. If anything, it improves 
performance, shortens the URL on the average case, and eliminates 
encoding issues. It makes the URL harder to read on another hand, but 
URLs wheren't made for that I guess :)

Vlad.



More information about the developers mailing list