Hi Jesús,

> I am getting ready to migrate to Zope 4, and checking products I depends
> massively on ExtFile/ExtImage. I wonder about the support of that
> product or something similar.

I also inherited a Zope app, and successfully migrated it to Zope 4/5.

I guess I do not have to tell you the general way how to migrate an app to 
Python 3 (pyupgrade, six...).

So, some Zope specifics.

Zope 4 is a transition version, between Zope 2 (Python 2) and Zope 5 (Python 
3), as Zope 4 both supports Python 2 and 3.

As you already did, it is important to catalog all your used plugins and check 
whether they are still supported, can be replaced by core functionality or 
another plugin, or even need to be ported to Zope 4.

My inherited legacy app even had two similar plugins to your ExtFile one, 
namely ExternalFile and LocalFS - both have no successors.

I could replace LocalFS entirely with Zope core functionality, in this case 
with resourceDirectory ( 
https://docs.plone.org/adapt-and-extend/theming/templates_css/resourcefolders.html
 ).

ExternalFile was rewritten from scratch, and now is only like 20 lines, which 
read a file from the file system and just return it to the browser.

So, no clue whether one or the other solution would fit your usecase.


When you want to work on the migration yourself, have a look at the docs...

https://zope.readthedocs.io/en/latest/migrations/zope4/index.html#

Generally, it is best to upgrade to the latest version 2 of Zope, first, before 
trying to update to Zope 4.

Michael, one of the core maintainers, gave a talk at EuroPython about a 
successful Zope migraton: https://www.youtube.com/watch?v=O-xSmvQwPHY

https://community.plone.org
Just for completion, if you need commercial support, you can post here: 
https://community.plone.org/c/jobs/38


And as already mentioned, https://community.plone.org is a good place to ask 
questions. This mailing list is super low volume.

Best,
Jürgen
_______________________________________________
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to