[Comments] What should we use to log in?

Source: Internet
Author: User
Tags comments log modify

What should we use to log in to the system? Is that a problem? Of course we log in to the system with ID.

So I'd like to change the logical question: What ID should we use to login to the system?

Of course, this is also simple, with what registered, with what login.

So the next question is: Does this ID appear at the same time as my nickname?

Many system developers may answer this: of course!

Perhaps I must say, this is not so "of course"!

The existing system of the login model is clearly referred to the foreign model-after all, people start early-English user name is often the actual name of the person, and in English login and our use of Chinese to log in a lot more convenient, because we have to switch input method. Some people may say, this does not become a problem, but I do not like, I like to use a simple English or digital login, access to the system to see the name is my favorite nickname, and this nickname or I can casually modify. For example, I might log in with "Ninsky" or any other character, and the name shown next to my message is "Yu-Feng."

You know, each user should have a unique internal ID in any system, and that ID should be independent of the login (if that's only a problem with table field design, but unfortunately this problem is in a large number of systems). All interactions in the system should be related to this ID, not the login name. So what I can do is not just to modify nicknames, but even the characters used to log in can be arbitrarily modified. Of course, the modified sign-in name should also be the only one in the system.

Flickr does a good job in this regard, although it is used to log in by email, but can arbitrarily modify this email, and even specify more email to log in.

do not put your user restrictions too dead, including login! this should probably be one of the requirements of system design.

Attach: The user table should contain several basic fields:

Id

login_id--According to the situation, can be a general string, or can be an email address

Password

User_name

Email



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.