| Joomla! goes PHP 5 |
|
|
|
| Written by Wilco Jansen |
|
During the past weeks we have been discussing the PHP, MySQL and legacy requirements for future versions of Joomla! We already decided to move to MySQL 4.1+ for Jooma! 1.6. However, the question remained as to when we drop PHP 4 and 1.0 legacy support. After much discussion and research we've made some decisions regarding these final two items. Legacy modeThe 1.5 legacy layer was introduced to bridge the gap between versions 1.0 and 1.5. It was a way site owners could migrate their sites to Joomla! 1.5, and allow extension developers more time to migrate to what we now call 1.5 Native. Legacy Mode was actually designed as an extension itself - a plugin. This was done so that it could be easily enabled and disabled. But more importantly it was a container that could be easily dropped in a future version. Legacy Mode is a useful feature for Joomla!, but we have decided that it will only ever apply to "one version back". This means that Joomla! 1.6 will have a Legacy Mode to support the changes made relative to version 1.5, but will not longer support any extension designed for Joomla! 1.0. We feel this strikes the best balance between encouraging developers and site owners to move forward and reduce the strain on the maintenance of too many versions of code. PHP 4 or PHP 5?PHP 4, deployed on tens of millions of servers globally, is among the most successful languages of all time, but this is coming to an end. Active development for version 4 of the scripting language has been discontinued and security updates will conclude in August 2008. There are still some holdouts opposing a complete transition to PHP 5 and it's not entirely clear whether or not PHP 4 will ever truly disappear. Ironically though, PHP 5 isn't a new technology, either but it has been the anointed successor to PHP 4 since its initial launch in 2004. Many open-source projects already have decided to move to PHP 5 and the discussion within the Joomla! community and the development working group has been running for some time. Our support, to date, for PHP 4 was to smooth the migration from 1.0 to 1.5 and, at the time, hosts supporting PHP 4 was not considered sufficient to move. Today though, our research indicates that for all the sites that are running 1.5, only 33% are on PHP 4 hosts. The balance of sites are running on various versions of PHP 5. Other factors that we have taken into consideration include third-party libraries that we use (TCPDF, Simplepie and PHPXMLRPC for example) that are also progressively dropping support for PHP4. So what do we have to gain with moving to PHP 5? Let me try to summarize this:
This is a pretty impressive list! After careful consideration, and collecting data clearly showing that the hosting market is clearly moving towards PHP 5, we have decided to move to PHP 5.2+ on Joomla! 1.6. This does not mean we be fully re-factoring all of the 1.6 code to be PHP 5 native. However, it does give us new options in terms of selecting the best third-party library for respective jobs, and allows us to create new work natively in PHP (for example the ACL engine). |







Thursday, 13 November 2008
Saturday, 23 August 2008
Thursday, 17 July 2008
MySQL 5 has
1. Far superior query cache and optimization.
2. Support for subqueries.
3. Full referential integrity (well, better than 4 at least).
4. Support for more and better hooks to Python, PHP, etc...
5. The list goes on.
Regardless of the features and stability improvements, it's just time to move to MySQL 5 for maintenance reasons. MySQL 5.1 will be in production by the time Joomla 1.6 is in production - so you'll be supporting one version back which fits the criteria above.
Tuesday, 27 May 2008
Tuesday, 27 May 2008
Monday, 26 May 2008
Friday, 23 May 2008
Thursday, 22 May 2008
I for one will not be developing any more new php4 extensions (even for Joomla 1.5)
Thursday, 22 May 2008
Monday, 19 May 2008
Wednesday, 14 May 2008
Tuesday, 13 May 2008
Tuesday, 13 May 2008
Tuesday, 13 May 2008
Tuesday, 13 May 2008
Love the decision. I am anxious for and almost sure of a performance boost here!
Monday, 12 May 2008
Great stuff.
Monday, 12 May 2008
Monday, 12 May 2008