Peter Saint-Andre;1183 Wrote: 
> 
> If you think of a system of pubsub nodes as similar to a file system,
> then a collection node is like a directory, a leaf node is like a
> file,
> and items are like file data. You don't expect a directory to contain
> file data.
> 

Hello,

I think you meant: "you don't expect a file containing a directory".

Anyway as you said, this is an analogy, and you can make others (even
with filesystem) where this would seem a good idea. For my own, I was
also making analogy to a filesystem, but simply: a node (whatever!) is a
directory, and an item is a file.

So simply you have some node containing only items (directories
containing only files): they are leaf. Some containing only other nodes
(directories in directories): collection. But it is absolutely possible
to have directories with files and other sub-directories mixed, hence
nodes both leaf and collection. And it seems this was the same analogy
ejabberd was doing.

Jehan


-- 
Jehan
------------------------------------------------------------------------
Jehan's Profile: http://www.jabberforum.org/member.php?userid=16911
View this thread: http://www.jabberforum.org/showthread.php?t=311

Reply via email to