test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • theprofessor Friend
    #141735

    Considering that I think a lot of people here are fairly new to Joomla (myself included), I thought this wiki page about Legacy mode would be helpful to understand sort of what it is, why we use it, and what it really means to the performance of your website.

    http://docs.kunena.com/index.php/Legacy_mode

    To summarize, it looks as though there is very minimal performance differences in running in native 1.5 vs Legacy mode.

    BUT…Legacy mode won’t be around forever, which is why developers are upgrading their extensions to not only run with Joomla 1.5, but Joomla 1.5 native, and decreasing their dependancy on Legacy mode.

    So, sounds safe to me to run in Legacy mode without for time being without much worry.

    wooohanetworks Friend
    #307094

    In some other Joomla! forum some site admins told the world that “LEGACY MODE CAUSES A PERFORMANCE LOSS OF UP TO 25%!” and as far I heard from worried users of this forum, they all believed it what they were told…and were so worried without checking back the original docs, as their english is weak and they feel no need to learn a bit more of this language to not be :confused anymore.;)

    Here is the Joomla! docs about this mode, same as stated by Kunena, minimal performance loss.

    http://docs.joomla.org/What_is_%22legacy_mode%22%3F

    One site of mine runs in legacy, could not test it but ever since, I would not believe statements like those from admins who one can see by the look on the avatar, they are not so into Joomla! as they should. I do not want to standardize people, but by the look in their faces they show combined with the statements of them, one knows they do not really have the insight but as they are the group of geeks they get those admin and mod positions.

    Seems to be a bit different inhere.

    In general you can see by taking a look at the modules php for example, what makes an extensions one that needs legacy mode. The 1.5 uses “JEXEC” where old Joomla! modules run with “_VALID_MOS”.

    Old :(( (some or more working with legacy on):

    <?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>

    New 😀 :

    <?php defined('_JEXEC') or die('Restricted access');?>

    VirtueMart Module Exception 😎 (runs in native without legacy required but contains still both):

    <?php
    if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); ?>

    What makes an extension to run in legacy mode when it is one of the old ones seems to depend on some other factors too, but in general, this already tells you if the extension is new and cool or old and bad…
    😉

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  wooohanetworks 15 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum