Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UUID to every FAQ entry #4

Closed
thorsten opened this issue Dec 29, 2010 · 0 comments
Closed

Add UUID to every FAQ entry #4

thorsten opened this issue Dec 29, 2010 · 0 comments
Assignees

Comments

@thorsten
Copy link
Owner

Using UUIDs, the administrator has two rewrite options:

* the current approach (with the question’s text – prone to changes and possibly long);
* the record UUID (“permanent”).

The UUID has also the advantage of being shorter (but not as user friendly as the first option), and may obfuscate the internal query/DB implementation to the external user.

URLs with “v.4” UUIDs don’t need to be URL-encoded (percent-encoding).

Another advantage: the record's UUID value may be used in the RSS optional element (this avoids feed validators complaints).

Examples

* Without rewrite statements
  http://faq.example.com/index.php?action=artikel&cat=1&id=23&artlang=en

* With the current rewrite method
  http://faq.example.com/content/1/23/en/the-question_s-text-that-is-prone-to-changes_and-possibly-long_very-long-or-with-diacritic-characters.html

* Using UUIDs on the rewrite
  http://faq.example.com/a7a67b6c-f7c8-4dc4-9da5-235a64d48e5a 

For non-specialists
[1] RFC 4122. More recent documentation about this subject is available.
[2] A UUID “v.1” contains the creation date/time but has security problems – it includes the host MAC address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant