On 31/12/2008, at 4:35 AM, Dean Landolt wrote:
Antony's suggestion seems like it could do a nice job of
accommodating all
cases:
if slugged-filename == original-filename:
name-on-disk = original-filename
else:
name-on-disk = slugged-filename+md5-of-original-filename
But I advocate a directory structure rather than just a name,
otherwise there's no way for an external tool to determine the
unslugged name of the database or view.
Antony Blakey
-------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787
A Man may make a Remark –
In itself – a quiet thing
That may furnish the Fuse unto a Spark
In dormant nature – lain –
Let us divide – with skill –
Let us discourse – with care –
Powder exists in Charcoal –
Before it exists in Fire –
-– Emily Dickinson 913 (1865)