Re: [Zope3-Users] How To Solve in Zope 3

2006-02-04 Thread Fermigier Stefane
Gary Poster wrote:


 - Jean-Marc Orliaguet's relationship code, which is based on 
 extrinsic triadic relationships, GPL, and used for CPSSkins;


Cf.

http://svn.z3lab.org/trac/z3lab/file/cpsskins/branches/jmo-perspectives/doc/peirce-relations.txt
http://svn.z3lab.org/trac/z3lab/browser/cpsskins/branches/jmo-perspectives/relations/

in case you didn't find it naturally.

  S.

___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] How To Solve in Zope 3

2006-02-04 Thread Lennart Regebro
On 2/3/06, David Johnson [EMAIL PROTECTED] wrote:
 There will exist the situation in which some hosts will have IP addresses on
 different networks.  Should networks be the container? Should hosts? Some
 other solution?  What would you do?

The network do ont contain the hosts, they conect them, and the hosts
do not contain the networks, so neither, a far as I can see. You need
separate networks and hosts lists, where the hosts can be connected to
one or more networks.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


RE: [Zope3-Users] How To Solve in Zope 3

2006-02-04 Thread David Johnson
 The network do ont contain the hosts, they conect them, and the hosts
 do not contain the networks, so neither, a far as I can see. You need
 separate networks and hosts lists, where the hosts can be connected to
 one or more networks.
That is exactly it.  I wonder how to connect them in the ZMI.  So far, my
leading thought is to create a Network container that contains IP Addresses.
I will then register the Hosts as utilities.  Each IP address will have be
able to select a Host utility.
 
It's not elegant at all.  I am exploring how to use a Catalog as well.  

From a python perspective all of this is no problem; it's making it all
presentable and manageable that is the crux.



___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] How To Solve in Zope 3

2006-02-04 Thread Lennart Regebro
On 2/5/06, David Johnson [EMAIL PROTECTED] wrote:
 That is exactly it.  I wonder how to connect them in the ZMI.  So far, my
 leading thought is to create a Network container that contains IP Addresses.
 I will then register the Hosts as utilities.  Each IP address will have be
 able to select a Host utility.

Well, how about storing is persistent list of ip-adresses on the host,
which you then can look up the ip-address object with?

 From a python perspective all of this is no problem; it's making it all
 presentable and manageable that is the crux.

I think you are overcomplicating it. When the python level is ready,
it's really only a question of how to generate the HTML code to
display it...

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] How To Solve in Zope 3

2006-02-03 Thread Gary Poster


On Feb 3, 2006, at 9:32 PM, matt wilbert wrote:

I have exactly the same situation, as I am writing a network  
management tool.  I am using one big container and a local catalog.  
Then you can slice and dice as best suits you.  I also think it is  
more extensible if you ever think you might add new object types.


There is also the relationships stuff in Schooltool.  I haven't  
needed it yet, but I was thinking it might be useful.


That's GPL, if that makes a difference to you, and designed for  
intrinsic relationships.  There's also


- zc.relationship, which is ZPL, relatively simple in concept,  
designed for extrinsic relationships between persistent objects, and  
pretty flexible;


- zope.agxassociation, which is ZPL, relatively simple in concept,  
and designed for intrinsic relationships;


- zemantic, which is extrinsic, RDF-based, and designed for the full  
flexibility of RDF;


- Jean-Marc Orliaguet's relationship code, which is based on  
extrinsic triadic relationships, GPL, and used for CPSSkins;


- Helmut Merz's relationship code (http://svn.cy55.de/viewcvs/Zope3/ 
src/cybertools/trunk/relation);


- and more, I bet!

Whew!

:-/

Gary
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] How To Solve in Zope 3

2006-02-03 Thread Jeff Shell
On 2/3/06, Gary Poster [EMAIL PROTECTED] wrote:

 On Feb 3, 2006, at 9:32 PM, matt wilbert wrote:

  I have exactly the same situation, as I am writing a network
  management tool.  I am using one big container and a local catalog.
  Then you can slice and dice as best suits you.  I also think it is
  more extensible if you ever think you might add new object types.
 
  There is also the relationships stuff in Schooltool.  I haven't
  needed it yet, but I was thinking it might be useful.

I used those this week, with some success. I found the API a little
hard to work with - I think it has RDF influences and I had a bit of a
time getting my brain to wrap to that. But borrowing some ideas from
zope.agxassociation, I made a Field and a property that uses that
Field and got a pleasantly working system that masks some of the
things that I had a hard time wrapping my head around (roles, groups,
etc).

 That's GPL, if that makes a difference to you, and designed for
 intrinsic relationships.  There's also

One of these days, I'm going to need to learn what GPL really means,
and how it should affect my choices of libraries that are open source
that seem comparatively similar otherwise but for the license. I guess
I need to revisit all the code we're using and check the licenses
again, since we might be branching into some new business models.

 - zc.relationship, which is ZPL, relatively simple in concept,
 designed for extrinsic relationships between persistent objects, and
 pretty flexible;

Ooo. I'll have to take a look at that one.

 - zope.agxassociation, which is ZPL, relatively simple in concept,
 and designed for intrinsic relationships;

I was looking at this earlier this week, but it seemed incomplete...
Actually, in subversion, the interfaces.py module ends after an
opening parenthesis. Was I looking in the wrong place?

I liked what I generally saw of agxassociation, but saw no concept of
removing associations (only adding them). schoolbell.relationships
(from Schoolbell 1.2.x) seemed a bit more complete.

I hope it makes it into the Zope core. Now that I have relationships
in my application, a whole new world has opened up - especially now
that I've rigged up a system that doesn't require me to think in RDF.
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users