PHP-Fusion Coding Standards
PHP-Fusion Coding StandardsWe started on a PHP-Fusion Coding Standards section to avoid some confusion now when we are getting close to a stable release of PHP-Fusion 9.

The Standards will eventually be deeply interconnected to our Functions and examples once we have documented Fusion Dynamics, Defender, Geomap etc.
The Standards reflects some old Standards that most people used to follow but never really had documented.
Some of these Standards were mixed with our Infusion Standards and some is simply how Nick always did.
Beyond all that, these Standards is a large mix of how Drupal, WP, Codeigniter & Pear have their Standards.
We selected the ones that reminds us most of how we have done in the past from the mentioned sources.

This is naturally a work in progress, not all files have been updated to reflect these Standards yet.
Most of these Standards will be finalized when everything is documented.

Visit PHP-Fusion Coding Standards for more information.
#3 | Domi on June 25, 2015 03:17:39
We have found a very good balance there, skpacman?s comment is witness to that. Suggestion denied.
Why do you even comment here and not directly to me via Main if you have something to say?.
Chances for me to see it here in a reasonable time frame are slim to none.

Good to hear that, it was a concern and a main goal for me. We need Standards but we don?t need to break established ones. It proved that quite a lot of larger systems have a wide mix of standards we just needed to land in the ones that work historically and for the future.
We needed to settle the common and current ways in stone and to complete the ones we were missing, it really started to cause some confusions.
#2 | Homdax on June 16, 2015 06:03:20
Well, you usually do that in an existing file, it's not like you start changing the formatting in midst of it. I actually suggested a review of implementable sections of . Not saying is perfect, but is has evolved over at least as many years as PHP-Fusion.
#1 | skpacman on June 15, 2015 07:54:14
Huh, was following these coding standards without even knowing it. I just copied how everything else was coded and have adopted it as my own standard.
Post Comment
Please Login to Post a Comment.
Rating is available to Members only.

Please login or register to vote.

Awesome! Awesome! 100% [2 Votes]
Very Good Very Good 0% [No Votes]
Good Good 0% [No Votes]
Average Average 0% [No Votes]
Poor Poor 0% [No Votes]