hm_468x60_09_395
announcement

Joomla Web Hosting

Find the best and most affordable Joomla web hosting provider.

Community Showcase on joomla.org

The Joomla Project is pleased to announce latest undertaking to promote Joomla site

Advertise on JoomlPanel.com

For only $30.00 a month you can advertise on one of the web's largest Joomla websites.

More Changes Coming Soon!

Check back for future changes!

bh_300x250_08_395

Joomla legacy mode and memory usage

Legacy mode is actually a Joomla! system plugin. It allows you to use extensions that were written for Joomla! 1.0.x (and even Mambo) in you 1.5 site. It is a part of the core distribution of Joomla!, but it is disabled by default. It is said to offer over 90% backwards compatibility. There seems to be some misunderstanding in the Joomla! community about legacy mode.

It is considered by many to be a 'bad thing', that should be avoided at all cost. But in fact:

Joomla! v1.5RC4 + PHP5 + Legacy mode = Super efficient!

DOCman v1.4 is a good example of an extension that works in both Joomla! 1.0.x and 1.5. During development, we encountered a number of issues in the legacy plugin in the subsequent Joomla! release candidates. These were reported and fixed, so legacy mode has become very stable. If it works with a huge and complex extension like DOCman, it should work with others as well.

On major issue was memory usage. Turning on legacy mode had a major impact on each pageload, even when the page didn't use any legacy extension at all. Johan and I did a bunch of experiments with PHP5's autoloading feature, and implemented the results in the Joomla! core. I did some test, using clean installs of RC3 and RC4 (rev 9627 to be exact), with the sample data. I measured the default frontpage and the back-end's control panel, each with legacy on and off. Of course for accurate results, you'd need to use a more extensive approach, testing with real world situations instead of just a couple of pages.

As you can see in the table and the graph, the results are pretty spectacular: Whereas turning on legacy mode in RC3 results in a boost of of about 1.30Mb, the difference is hardly noticeable in RC4. A megabyte might not seem much, but if your site serves a thousands pages per minute, it quickly adds up. Compared to RC3, the new release uses 15-19% less memory in legacy mode.

The downside is that this only works with PHP5. But hey, why are you still using PHP 4? On the plus, the autoloading implementation has one great benefit: it can be used everywhere in Joomla! Keep an eye on this blog, I'll write a post on how to use autoloading in your own extension soon.

Joomla! Memory usage in Mb
v1.5RC3 v1.5RC4 Gain (Mb) Gain (%)
Frontend 5.54 5.54 0 0
Front + Legacy 6.96 5.90 1.06 15.23
Backend 4.45 4.32 0.13 2.92
Back + Legacy 5.73 4.65 1.08 18.85
Resource: joomlatools
 

joomlahosting




Joomla Tutorials

Joomla panel provides easy to use website joomla tutorial free download joomla templates for joomla verssion 1.0x and 1.5x. Here you will learn how to install Joomla, all the way to installing and customizing your own templates.

Tutorials Showcase enables you to build Web sites and powerful web applications. Best of all, Joomla is an open source solution that is freely available to everyone.

Building Web CMS Project

Submit your joomla web to joomlapanel web showcase gallery directories and find the joomla stable extensions : Joomla plugin, joomla module, joomla component, joomla mambot.

Submit your Article blog into our article directories to anchance high web Traffic.

 

Article and Tips trick

Your sohowcase for Travel guide; Hotel, Villas resort, Flight, car website

tutorial