Jump to content


General GET usage question

  • Please log in to reply
2 replies to this topic

#1 witt

  • Members
  • PipPipPip
  • Advanced Member
  • 36 posts

Posted 30 May 2006 - 10:44 PM

Is it better to send IDs or names via GET?




#2 homchz

  • Members
  • PipPipPip
  • Advanced Member
  • 93 posts
  • LocationLee, New Hampshire

Posted 30 May 2006 - 10:52 PM

Totally misread that question :lol:

I use both and determine where i need them.

If it is a known item. I use words.

If it is unknown and could be many I use numbers.

My example

page=comment: I know there are only certian named pages.
action=add: You can either add or read on the comment page
tid=28: The user chose the topic, and I can never know which they want to I use numbers here to make the rest of my realtions easier.

#3 poirot

  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 30 May 2006 - 10:55 PM

I think it should understand both. While numeric id's are easier to program, humans are not good to memorize numbers.


showprofile.php?p=poirot is easier than showprofile.php?p=8844
~ D Kuang

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users