[p2pu-dev] [p2pu-community] Using IDs for courses rather than slugs

Philipp Schmidt philipp at p2pu.org
Fri Aug 31 11:27:28 UTC 2012


No strong opinion either way, but one unintended benefit of using IDs would
be to make it easier to rename courses.

Currently, the SLUG remains unchanged, even if the course title is changed.
Using an ID would make that less of an issue.

P

On 31 August 2012 09:42, Dirk Uys <dirk at p2pu.org> wrote:

> Hi everyone
>
> Stian mentioned this a while ago. It comes down to a URL being
> "/courses/465/" instead of "/courses/help-me-learn/".
>
> We have a few options:
>
> We can add the slug after the ID - "/courses/465/help-me-learn/". It
> won't really be used, so '/courses/465/the-quick-brown-fox/" would be
> equivalent.
>
> We can also try to resolve something like "/courses/help-me-learn/" to
> "/courses/465/help-me-learn/" if the slug exists. But if the slug then
> changes, "/courses/help-me-learn/" would return a 404 (page not
> found).
>
> Would everyone be happy if we simply used the ID ("/courses/465/") and
> what would the benefit be of adding a slug after the ID?
>
> Cheers
> Dirk
>
> --
> You received this message because you are subscribed to the "P2PU
> Community" group. Please stick to the ground rules:
> http://groups.google.com/group/p2pu-community/web/ground-rules
>
> Specific topics such as research, web development and course design are
> discussed in separate working groups:
> http://wiki.p2pu.org/mailing-lists
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.p2pu.org/pipermail/p2pu-dev/attachments/20120831/cd853cb1/attachment.html>


More information about the p2pu-dev mailing list