I run a quite large Plone instance for an organization, including a public facing site and an intranet. We have 50+ internal add-ons plus several community provided ones. I have to figure out an strategy to move us away from Plone 4.3/Python 2.
I would like to hear from you regarding ideas and similar experiences.
My initial plan is as follows:
Make all the code base Python 2+3 compatible, but still keep running on Plone 4.3.
Make all the code base Plone 4.3 + 5.2 compatible, in order to make the following step easier. The goal would be make tests pass in all involved Plone/Python versions.
Migrate to Plone 6 with Volto.
My reasoning is that we don't gain much migrating to Plone 5.2, since Plone 6 is approaching fast and is quite a jump from 5.2.
What do you think? I'd appreciate any feedback.
We are 100% Dexterity and plone.app.contenttypes, no Archetypes.
We use Diazo for theming.
We rely on the good old resource registry, no Webpack.
With 100% Dexterity there is a good chance that you can migrate your code easily and quickly to Python 3 and use the in-place migration rather than a more custom migration path. I would not invest any time into a Python2-3 compatible codebase if you can move quickly from Plone 4 to Plone 5...it depends on the size of your codebase and if you need to maintain/update your code during the migration phase. Any invest in Python 2 is wasted time (and wasted money)...try to move quickly.
My initial plan is to not migrate to Plone 5.x since it does not add much value and I'll have to deal with all the theming and resource registries issues. I plan to make the add-ons Plone 5.x compatible only to make it easier to migrate to 6.x.
It’s an interesting problem, but I don’t know if you can entirely skip 5.x in migrating from 4.3 to 6. At the moment, the only thing on the roadmap about 6 is that it will have the Volto default front end. It’s probably 1.5-2 years away (my guess). Usually we want there to be some significant functionality changes and significant user-facing changes to warrant declaring it a major version change, so I would think there will be some backend changes to go with it. I don’t know then if it will be possible for a migration to go directly from 4.x to 6; if you look at our migration docs, they say go to 4.3 then to 5, so I would assume when the time comes you will have to migrate first to the last 5.x version THEN to 6.
However, you might be able to skip dealing with theming in 5.x.
Maybe you could consider migrating to 5.2 and using Volto instead of having to re-theme for 5.2 and (later) go to Volto.
Plone 6 featuring whatever (Volto?!) is likely at least two years away (with a usually unusable dot zero release).
The end of lifetime of Python 2 by the end of the year is likely a reason for moving to Plone 5.2.
Volto yes or no ...I have my own opinion on that...I see very few usecases were Volto would give us advantages in the near future compared to the traditional server side rendering. On the other hand it is much easier to get developer building something to top of a headless API...given the speed of frontend development these days I wonder how long a Volto/React frontend can live and survive and being maintained in long-running projects. Volto really gives me a major headache.