Regarding the slug.  Why do you feel it important to have something
readable in the URL? How often do you look at the URL?  My view (I'm a
former Database Administrator and designer so this is based on bitter
experience) is that an identifier you can guarentee is unique is more
importtant than a human readable one.  This is particular important
where you might have tools not under your direct control inserting and
updating the data (this is also why I always recommend that business
rules should be as close to the data as possible, if they're in the
app layer then you risk another tool/app bypassing them).

If you DBMS will provide a guarenteed unique key then it would be a
good idea to use it, IME.

Stephen

-- 
It's better to ask a silly question than to make a silly assumption.

http://stephensorablog.blogspot.com/ |
http://www.linkedin.com/in/stephenboothuk | Skype: stephenbooth_uk

PRINCE2 (2009) Practitioner and CHAMPS2 (2010) Practitioner

.

_______________________________________________
developers-public mailing list
[email protected]
https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public

Unsubscribe: 
https://secure.mysociety.org/admin/lists/mailman/options/developers-public/archive%40mail-archive.com

Reply via email to