[Zope] RE: [Zope-dev] zope connector

sean.upton@uniontrib.com sean.upton@uniontrib.com
Tue, 18 Feb 2003 15:56:10 -0800


I've moved this to zope@zope.org instead of zope-dev...

You want ZEO, but you want to run it over a dedicated VPN between your 2
locations, for security purposes.  You want to have objects accessable to 2
zopes.  And you really can't do this very easily without use of (a) ZEO, or
(b) some sort of web-services (lots of work using XML-RPC or something like
that).  You can't do distributed objects well in Zope with any other way,
AFAIK.

DBTab only makes sense as a way to mount a ZEO storage, without ZEO it makes
no sense.  If you can't go the ZEO route, and therefore can't share objects,
you need to look into another way to share more raw data between your Zope
instances (i.e. XML-RPC, HTTP scraping, Relational Database, etc).  If you
just need to sync data occasionally, you could also look at ZSyncer.

Sean

-----Original Message-----
From: Tena Sakai [mailto:tena.sakai.b@bayer.com]
Sent: Tuesday, February 18, 2003 3:33 PM
To: sean.upton@uniontrib.com
Cc: zope-dev@zope.org
Subject: RE: [Zope-dev] zope connector



Many thanks, Sean.

Your idea sounds interesting and require more investigation
on my part.  I need to write application on a remote zope server
(via wan, not part of our domain, but an extranet site) to access
database tables on my domain.

I don't think the other server has ZEO running.  (Neither do I, but
I can do it since zope server is mine.)  The other side may so
"No," in which case would I still be able to do what you say with
DBTab?  Ie., without ZEO on the other side?

Thank you.

Tena Sakai


 

                      sean.upton@uniont

                      rib.com                  To:
tena.sakai.b@bayer.com, zope-dev@zope.org                               
                      Sent by:                 cc:

                      zope-dev-admin@zo        Subject:  RE: [Zope-dev] zope
connector                                           
                      pe.org

 

 

                      02/18/2003 02:14

                      PM

 

 





Use ZEO and DBTab and a shared mounted object database that both Zope
instances have access to.  Put any objects that need to be accessed by both
Zope servers in that common storage mounted at some folder-level in your
zope setup.

Sean

-----Original Message-----
From: Tena Sakai [mailto:tena.sakai.b@bayer.com]
Sent: Tuesday, February 18, 2003 1:56 PM
To: zope-dev@zope.org
Subject: [Zope-dev] zope connector


Folks,

I am interested in accessing resorcces from two or more
zope servers.  For example,

   <br>
   hahaha!
   <br>

   <dtml-var name=funny>

   <br>
   hohoho!
   <br>

The code snippet above will, when rendered, yield:

   hahaha!
   hehehe!
   hohoho!

provided that the entity funny ultamately returns hehehe! and
accessible within the name space.

But how could I do this if the object funny is on a different zope
server?  Ie., how can I connect two name spaces on different
zope servers in some not-so-caotic fasion?

Thanks in advance.

Regards,

Tena Sakai


_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )




_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )