Re: [Zope] Zope with two platforms.

2000-08-04 Thread R. David Murray

On Fri, 4 Aug 2000, Francisco Assis Rosa wrote:
> We would like to be able to have
> new developments on products to be passed
> from the development platform to the
> staging platform and to have new
> content to be passed from the staging
> platform to the development platform.

I wonder if you could put your content in a mountable
storage and just periodically copy that storage down
to the development machine, and similarly periodically
copy the master storage (containing the ZClasses) up
from the development machine.  If your products
are Python products you wouldn't even need a mountable
storage.

> Also, how would you see schema versioning
> How could we for instance deal with
> objects generated from a product if the product
> schema changes ?

Zope uses the __setstate__ method for handling this
case in Python products.  I think there's a howto somewhere but I'm
not sure.  If not you can find examples of calling it in
the Zope sources.  For ZClasses the objects get all their
info from the ZClass, so you generally don't run into upgrade
problems (though people have run into trouble with properties
they have tried to delete hanging around on existing instances).

--RDM


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope with two platforms.

2000-08-04 Thread Francisco Assis Rosa

Hi all,

I have a question I would like to pose you.
We want to setup a environment where we have
a development platform and a staging platform
(two distinct machines with two distinct Zope
instances).  On the development platform we
want to develop Zope Products while on
the staging platform we want to, based on
these products, add content to our
zope database.

We would like to be able to have
new developments on products to be passed
from the development platform to the
staging platform and to have new
content to be passed from the staging
platform to the development platform.

Any ideas on how we could do that using
Zope as our application server ?
In particular how do you think we
could deal with allowing content editing
to proceed in parallel with development of
products ? Is there any available solution for
Zope databases integration ?
Also, how would you see schema versioning
How could we for instance deal with
objects generated from a product if the product
schema changes ?

Thank you in advance,

Francisco.


--
Francisco Assis Rosa email: [EMAIL PROTECTED]
Dynamic Diagrams   tel: 401.331.2014 ext. 136
12 Basset St., Providence, RI 02903fax: 401.331.2015




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )