What should be the best approach to do it in order to avoid poor performance and using Pipelines and controllers together until all migration is done?

You’re in charge of Pipeline migration to Controllers.

What should be the best approach to do it in order to avoid poor performance and using Pipelines and controllers together until all migration is done?
A . Use the same name for new Controllers than pipelines because it will be easy to identify that is migrated and Controllers take precedence. Furthermore it will be a good practice to do it in separate cartridges.
B . To reduce risk of circular dependencies and for easier migration mix pipelines and controllers in a single cartridge.
C . onRequest and onSession pipelines are replaced with the OnRequest and OnSession hooks.
D . Controllers and pipelines must be in the same folder to avoid collisions between them.

Answer: A, C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments