From: Michael S. <sc...@un...> - 2006-08-18 11:45:39
|
Andreas Kupries schrieb: > One of the services I wanted to put into Tcllib, based on the 'safe' comm > foundation > is the primitive nameserver I did years ago, see > > http://www.oche.de/~akupries/soft/pool/f_net_ns_server.tcl.html > > Except when I started the docs/spec for the new implementation I found myself > quickly on the road to complexity, because of a number of questions I came up > with in need answers ... For now the doc/spec is quite incomplete and actually > more a set of notes I started to make to organize my thoughts and get something > coherent out of of whatever notions are tumbling through my subconscious. Keep it basically simple. What would be the main usecase? comm services which need to detect each other? > > Actually, before writing the last sentence, a different > thought bubbled up out of my subconscious, that I am > apparently re-inventing LDAP, where the stored records have > complex structure with many keyes, attributes, possibly > nesting, and can be searched for by any component. That made > me realize that my questions had put me really well on the > road to higher complexity. Your basically not only solving similar problems to LDAP/X.500, you also dabble in the field of UDDI (http://en.wikipedia.org/wiki/Universal_Description_Discovery_and_Integration) or even the naming conventions/name discovery used by things like DBUS or Apples Bonjour/Rendevouzs. > Still. What would we use in the Tcl world as records ? My > guess would be nested dictionaries. Yes to nested dictionaries for storing the records. Michael |