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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
When to move to PHP5
-
- Rank: Softmore
- Registered: Nov 25, 2007
- Last visit: May 30, 2010
- Posts: 166
-
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
-
- Rank: Team Member
- Registered: Jan 19, 2003
- Last visit: Apr 06, 2010
- Posts: 442
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
--
Guite | ModuleStudio -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
You should read this initiative:
http://www.gophp5.org/
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Softmore
- Registered: Nov 25, 2007
- Last visit: May 30, 2010
- Posts: 166
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 -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
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. -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
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
- Moderated by:
- Support
