Hello everyone,
This is a "web dev best practice" question. I am envisioning a website where users would sign up with a username they would select (revolutionary, I know). They would also enter a valid email address. I would test for the uniqueness of those in the db before allowing the sign-up.
The site is non-commercial in nature, and I don't need a GUID.
Given this, should I have in my db a separate user ID? I understand vaguely that MySQL might index more efficiently a number-based ID?
Alternatively, should I just use the email address as a unique identifier?
Thanks.
JDelage