[Zope] RE : [Zope] Sybase: How generate id keys? (surrogate keys)

Sin Hang Kin kentsin@macau.ctm.net
Wed, 22 Mar 2000 08:00:50 +0800


The unique id problem come up again and again.

The automatically generated unique id will benefit web author with

sql row id
object id

and may be some others

With a view that zope will be run over the network with distributed storage
across the net, I would like to suggest we implement a unique id server
which can be a zope server serving on another port and serialize all request
and return the globally unique id.

Does this work?

I also suggest zope can be configured to automatically get the object id
from this service and have globally unique object ids.

Rgs,

Kent Sin