Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1506

Joomla! 5.x Coding • Re: Legacy component structure

$
0
0
You posted the same link twice. But yes, there are many oversights and discrepancies regarding deprecation process. Entire classes like Joomla\CMS\Extension\LegacyComponent and Joomla\CMS\MVC\Factory\LegacyFactory are not yet marked as deprecated even though they should be removed in 6.0. Given the current B/C policy even if someone comes around to marking it as deprecated now, it could only be removed in 7.0. And since these classes rely on other code marked as deprecated, such as your mentioned Joomla\CMS\MVC\Model\LegacyModelLoaderTrait, that too could only be removed in 7.0.

In any case, you should consider not using Joomla's MVC stack. It's bad, with responsibilities scattered all over the place, and no improvements can be expected in near future. And, generally speaking, tight coupling with the framework is considered a pretty bad practice. Difficult upgrades is one of the reasons why.

Statistics: Posted by SharkyKZ — Tue Nov 26, 2024 8:54 am



Viewing all articles
Browse latest Browse all 1506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>