A fejlesztői listán időről időre érdekes kérdések futnak át. Egy érdekes kérdés merült fel és érkezett rá válasz is. Íme:
Kérdés:
Today, with Joomla! version 3.2 (beta), we have to use legacy MVC architecture. The new MVC architecture introduced with Joomla 3.0 is still under construction and isn’t usable (or with a lot of complementary code, especially for admin interface).
Am I right ?In the future, with Joomla! 3.5, can you say me if a developer should use legacy MVC or if will be better to use the new MVC ? (even it’s not compatible with 2.5)
Is the new MVC will be fully usable in 3.5 ?What’s about FOF ? Is it an alternative to the new MVC architecture ? What’s the way decided by Joomla core team ?
Válasz:
According to the roadmap: http://developer.joomla.org/cms/roadmap.html, the old "legacy" MVC is still the way to go. I understand it that the new MVC is sort of a mistake which should be rolled back (with B/C in mind).
I guess once the new framework will be used for the CMS, then a new MVC will be used. But that will likely not happen before 4.0, probably even later. The old legacy one will be around for a long time, most likely also during the 4.x series to provide B/C (we don’t want to repeat the 1.5 -> 1.6 change) 🙂
FoF is an alternative you can use, since it is now included in core for Joomla 3.2.
Összességében tehát mindenki megnyugodhat még legalább 3 évig a mostani MVC struktúrával lehet nyugodtan dolgozni, bár gondolom az újat a 4 Beta-kal már érdemes lesz részleteiben megtekinteni (addig meg ugyebár sok víz lefolyik a Dunán).
Pingback: Saját fejlesztésű komponensek átvitele Joomla 2.5 alól Joomla 3.2 alá « Rétikánya blogja