If someone wants to view the profile of someone else, they'll need to be able to navigate there. This would be tied to the user - stored with the user's information and created at creation time.
Parameters & Constraints
In an ideal world, a permalink would have the following traits:
The link is static - never changes
The link only works if logged in as a user that is somehow connected to the target
The profile page is static, and has the following sets of information
Email
Birthday
Picture
Bio
Common groups
Common events
Implementation
There are a couple of ways of doing this:
At creation time, create a URL-compliant hash that's unique to that user - a UUID of sorts. This would be stored as a field with other user information, and would not be changeable. It's not predictable.
Motivation
If someone wants to view the profile of someone else, they'll need to be able to navigate there. This would be tied to the user - stored with the user's information and created at creation time.
Parameters & Constraints
In an ideal world, a permalink would have the following traits:
Implementation
There are a couple of ways of doing this: