Fork me on GitHub

When to move to PHP5  Bottom

  • I've noticed that some new third-party modules (most notably Pagemaster) are written in such a way that they just won't run under PHP4. If this is the beginning of a trend, I wonder how long we should wait before considering at least creating a distribution of Zikula that's optimized to use PHP5. There are at least a handful of places in the core code that I've run across that could be far more efficiently written for PHP5 exclusively.

    In a few places, I've actually re-written portions of the core code to optimize for PHP5 because of the sheer size of certain portions of my database. As written, DBUtil and SecurityUtil just don't cut it on my site. Specifically, I currently have nearly 40,000 categories because I have one category for each U.S. zip code, each as a subcategory of its state. I also have a separate module whose tables hold a ton of data about each of those zip codes. I'm implementing a very robust per-category permission system and, unfortunately, I've had to bring back per-user permissions just because of the nature of my site. So my needs are certainly unique in the community and I'm perfectly capable of making any changes that I require.

    Now, most people won't ever reach that level of data, but for those that do, we really need to shave every line of code and every query possible to ensure equally great performance among all sites, regardless of their size.

    I would honestly like to see a milestone set at which we move away from PHP4, but I'd be happy with a milestone at which an optimized distribution would become availablefor 5, with another distribution maintained that would continue to support 4.

    Any thoughts?

    --
    Help Now! Fast and affordable help for do-it-yourself webmasters from Wicked Viral :: Chicago's Only Web Development Firm Specializing in Social Networking Integration
  • Next release will be PHP 5 Only.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Zikula 2.0 will be the first core release requiring PHP 5.
    You can already checkout the SVN version from the Cozi and contribute patches as tickets to the core tracker in order to get them included officially icon_smile

    --
    Guite | ModuleStudio
  • You should read this initiative:
    http://www.gophp5.org/
    icon_wink

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Well that's good news. I'll try to keep up on news like this in the future so I don't ask questions that are probably already answered somewhere else. ;)

    --
    Help Now! Fast and affordable help for do-it-yourself webmasters from Wicked Viral :: Chicago's Only Web Development Firm Specializing in Social Networking Integration
  • -Off Topic-

    I would love to see your site!
  • Any patches you have already to optimise things for PHP 5 would be extemely welcome. So i'd encourage you to submit anything you've done already.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • To echo what is said above, patches would be very welcome (and I'd like to see your site too and get an idea of how you're using Zikula)

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide

This list is based on users active over the last 60 minutes.