Results 1 to 3 of 3
Thread: The Correct Way To Code?
Aug 9, 2007, 04:33 #1
- Join Date
- May 2007
- West Midlands, UK
- 0 Post(s)
- 0 Thread(s)
The Correct Way To Code?
Ok, Here goes.
I hear alot of people saying that they wish people would code there PHP correctly. Im kind of confused.
Now in HTML & CSS (Which is what im used to) you have documents that outline the standards, and the way things should be done, you follow the rules, your on the right track...sort of. Is there anything like this in PHP?
To my knowledge, the only thing i know so far that i think aims towards correct coding is using Functions and Classes/Objects to add structure to code and for ease of use for everyone. Oh and stuff like validating everything that could pose a security risk.
Is there any documents or governing rules that can help me to make sure my PHP is up to scratch? I want to know what im doing is correct.