Replies: 5 comments 4 replies
-
it will be a big backwards compatibility break and is likely only possible by building fully new Frontend. but looking at the (in)activity https://github.com/prototypejs/prototype/graphs/contributors I think it will be a requirement to switch away in the longterm. |
Beta Was this translation helpful? Give feedback.
-
it's gonna be extremely hard but, I've said it in the past, IMHO it would be beautiful to have it removed. |
Beta Was this translation helpful? Give feedback.
-
I would like to get rid of the prototype and replace it with vanilla JS, jQuery or another maintained and popular library with plugins. If in the case of OpenMage with tailor-made work something like this can be achieved, in the case of extensions that use Prototype it will be a big problem. On the one hand, the developer will not want to update the extension/module, on the other hand, as soon as a store it is updated without Prototype, it will stop working on certain parts. Along with this important change, which I think is much more complex than the transition to ZF1-Future, we will also have to be offered a change guide, the new equivalents to what exists now in the extensions. nor can it be compared with the removal of MySQL4 parts from the code and extensions, which should be completed by the end and we can remove relics from 10 years ago. At this moment I am using 4 extensions that use Prototype. If the community wants this, discussions can be initiated on what to replace it with, manual changes, . As in OpenMage we have jQuery and Magento 2 uses it, it can be a solution. |
Beta Was this translation helpful? Give feedback.
-
My idea is to replace it with vanilla js. As we don't have the resources to do it in one big ban, can we can do it piece by piece, file by file, similar to how we do PHP8? When all is done, we can still keep prototype in the layout head for 3rd-party extensions. For those who has no trace of prototype, they can easily remove it in custom layout file. For change guide, we can do similar like Jenkins: |
Beta Was this translation helpful? Give feedback.
-
I gather that we need to remove prototype.js. Now, how to do it?
What do you think? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Jenkins announced in May that they are removing prototype.js, and they did it last month. Is this something we want to do? How to go about it?
Beta Was this translation helpful? Give feedback.
All reactions