FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » creating key / hash
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: creating key / hash [message #183949 is a reply to message #183942] Thu, 28 November 2013 18:37 Go to previous message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma:
Member
In article <l77086$vhq$1(at)ariadne(dot)rz(dot)tu-clausthal(dot)de>,
Philipp Kraus <philipp(dot)kraus(at)flashpixx(dot)de> wrote:

> Hello,
>
> I need an idea for creating hash / key values. I use a WebDAV
> connection with sabredav to transform database table values in a webdav
> structure (vice versa).
> The database stores BibTeX data and I would like to transform this data
> in a BibTeX file. BibTeX uses a cite key most in this structure: <first
> 3 letters of each author><letter of the title><year>
> In my case this key should be generated automatically with PHP in the
> backend, but we have a hierachical structure, eg: organisation / group
> / authors / BibTeX publication
>
> My BibTeX key should store also a reference of the organisation and
> group, the organisation can be shorten with 3 letters (we have got a
> shortcut), but I need also a unique key, so
> my question is, did you have a good idea to create a "human readable
> short and unique hash with the hierachical organisation strucutre" in
> PHP ? At the moment I'm thinking about
> suffix trees or anything else.
>
> Thanks a lot for some ideas
>
> Phil

Half the time of design is figuring this sort of thing out.

What makes sense to you?

What would make sense to someone who's not familiar with your project?
(e.g. ask some non-involved person like your gf/bf)

There's nothing technical about this process, just figuring out what
makes sense.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: converting numbers to ascii values
Next Topic: Regarding split text and match from data base
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 22:19:55 GMT 2024

Total time taken to generate the page: 0.04317 seconds