This is just something for discussion, but when I was looking at Scott's code for gaming it took a while for me to understand the way he did some things, simply because he codes differently to me. Another person looking at my code would think the same thing (what the hell is $vTmp)? That's one of the great things about PHP - the flexibility to code in your own style. This is fantastic when you are working alone, but we - as a killanet programmers - are working as a team to code sites.
I was thinking that it would make things a lot easier if we adopted a coding standard - similar to the web standards project for HTML and CSS. A quick google turned up this:
[url=\"http://www.dagbladet.no/development/phpcodingstandard/\"]PHP Coding Standard[/url]
Obviously this would mean each person changing the way they code slightly, and a bit of extra work for all of us - but if this was something that we could strive towards I think it would make it a lot easier for us to work together on projects and provide support without having to interperet each other's naming conventions etc.
As I said, this is something for discussion, so please read at least the introduction to the standard and post your thoughts here.
PHP Coding Standard - Site Devs please read
Moderators: Moderator, Global Moderator
PHP Coding Standard - Site Devs please read
I'm going to look into this.. I already read some of the article.

PHP Coding Standard - Site Devs please read
I\'ll be honest - I\'m not sure it would be the greatest use of time to relearn how to code. At this point in time, we need working sites...not sites which look pretty behind the scene but only comprise of one file.
May just be me though.
May just be me though.
PHP Coding Standard - Site Devs please read
Agreed it would mean everyone changing their styles; even re-learning, and well its always going to be limited because those of us who use OOP would still code in a way that would appear to be absolute jibberish to those who don\'t.
If the idea is widely supported through other posts then I\'d re-think, but right now I don\'t really have a problem editing other people\'s code as most of the code I\'ve had to edit adheres to what I like to see; cleanly set out, tab indented etc. It would be a good idea, but I think the flexibility is what makes PHP so good <img src=\'http://www.killanet.net/forum3/public/s ... iggrin.gif\' class=\'bbc_emoticon\' alt=\':D\' />
If the idea is widely supported through other posts then I\'d re-think, but right now I don\'t really have a problem editing other people\'s code as most of the code I\'ve had to edit adheres to what I like to see; cleanly set out, tab indented etc. It would be a good idea, but I think the flexibility is what makes PHP so good <img src=\'http://www.killanet.net/forum3/public/s ... iggrin.gif\' class=\'bbc_emoticon\' alt=\':D\' />
[color=\"green\"]'class KPIM::ProcessManager' only defines private constructors and has no friends[/color] <-
poor class
[18:09:00] * ~Moppy stews ner0 erotically 1 times.
[18:09:00] * ~Moppy stews ner0 erotically 1 times.
PHP Coding Standard - Site Devs please read
You obviously haven't seen my older code <img src=\'http://www.killanet.net/forum3/public/s ... igwink.gif\' class=\'bbc_emoticon\' alt=\';)\' />



