Re: [PHP] how to write good code

2008-09-01 Thread Shelley
Hi Shiplu, For all that you mentioned, and if you want to get a quite good suggestion, I will highly recommend that you read through McConnell's Code Complete (2nd Edition). Specifically: Chapter 31: Layout and Style Chapter 32: Self-Documenting Code (Commenting Techniques) It won't disappoint yo

Re: [PHP] how to write good code

2008-08-30 Thread Eric Gorr
On Aug 30, 2008, at 8:17 PM, Shiplu wrote: I wanna know how to write good code in php. Not oop stuff. I wanna know how to write a good php code file. documentation, comments. indentation etc. what are the good practices?? Studying design patterns are a great start to learning how to write g