We use a Psycopg connection, and Z SQL Objects... We don't have any programs written in python that use zope interfaces and so on. We have a entire site written in DTML in Zope 2.x. Now, after some discuss here We want to migrate it to Zope3.x. and start to develop using the zope 3 facilities and OO and ZPT. I already install Zope 3.1.0 and try to copy the Data.fs. But it produces a lot of erros. How can I handle this? Will exist a way to migrate from Zope 2.x to Zope 3.x? Thanks in advance. Fernando Lujan
On 1/9/06, Fernando Lujan <flujan@gmail.com> wrote:
We use a Psycopg connection, and Z SQL Objects... We don't have any programs written in python that use zope interfaces and so on.
We have a entire site written in DTML in Zope 2.x. Now, after some discuss here We want to migrate it to Zope3.x. and start to develop using the zope 3 facilities and OO and ZPT.
I already install Zope 3.1.0 and try to copy the Data.fs. But it produces a lot of erros. How can I handle this?
Will exist a way to migrate from Zope 2.x to Zope 3.x?
Zope 3 is not backwards compatible with Zope 2. There will probably not exist an *easy* way to "migrate" as such. People are slowly working on merging the frameworks so that it will be possible to run both Zope 2 and Zope 3 programs on the same server, but we are not there yet. Migration will be an application level affair, meaning that if you have a custom Zope 2 application, you will have to make the migration yourself. Sorry for this negative sounding answer. Zope 3 is super cool, but it is a super cool development platform. Zope 2 was super cool too, and Zope 3 is even super cooler. But moving to Zope 3 is at the moment a lot of development work (you basically need to rewrite your applictaion completely) and unless you plan on doing that anyway, you should probably just stick with Zope 2 for the time being. :) -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/
On Mon, Jan 09, 2006 at 12:41:46PM -0200, Fernando Lujan wrote:
We use a Psycopg connection, and Z SQL Objects... We don't have any programs written in python that use zope interfaces and so on.
We have a entire site written in DTML in Zope 2.x. Now, after some discuss here We want to migrate it to Zope3.x. and start to develop using the zope 3 facilities and OO and ZPT.
I already install Zope 3.1.0 and try to copy the Data.fs. But it produces a lot of erros. How can I handle this?
Zope 3 is not backward-compatible to Zope 2. You can not copy a Data.fs between them.
Will exist a way to migrate from Zope 2.x to Zope 3.x?
In general the migration path looks like: 1) Rewrite your app gradually using Zope 2.8, 2.9, 2.10 (when it comes out) and gradually leverage more and more features of zope 3 via the "Five" compatibility layer. (This is likely to be much harder if you have significant dependencies on third-party code.) 2) ??? 3) export your data from zope 2 somehow, and re-import into zope 3. You may have to write some of your own serialization code. Step 2 is not well defined at this point in time :=) -- Paul Winkler http://www.slinkp.com
participants (4)
-
Andreas Jung -
Fernando Lujan -
Lennart Regebro -
Paul Winkler