2008/6/24 Alexander Wagner <[EMAIL PROTECTED]>:

>
> Today, I also had some thoughts about unique id's. Probably a structured ID
> would be a good approach. One could use a structure already common in URN or
> DOI services. For a chess DB it could look like this:
>
> DBID:Version-Number
>
> E.g.
>
> CentriScid:10-123456
> CentriScid:10-654321
>
> One could imagine a structure like:
>
> CentriScid:12-123654    ply-count      solution
> CentriScid:14-222333    ply-count      solution
> ...


>From a programmer point of view and for something more human readable, I
prefer

CentriScid_ID                   123456
CentriScid_Version           10
CentriScid_TacticPly        23
CentriScid_TacticSolution Nxf3 ...
CentriScid_OpeningBlunder 7
CentriScid_OpeningBlunderSideToMove black

etc....

So a complete list of needed keys must be defined at an early stage.

And I strongly suggest to use PGN tags for these, if it was not already the
idea (sorry if I did not get it). This system spares parsing time and
searches should be fast enough, without particular indexing.

Pascal
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to