PHP Coding Style and Organization Generally, programming is
considered as something that happens behind the scenes;
something that has more to do with function than form.
Programmers frequently leave the appearance of the application
up to a designer, so the idea of style having anything to do
with coding can seem a little laughable at first. After all, as
long as the logic and syntax of a PHP script is correct, the
computer knows what we mean, and our script works. The computer
doesn't care what the actual code looks like, only what it says.
But the computer only processes scripts; people are the ones who
conceive and author them. Besides just "working," it is
essential that an application is maintainable, re-usable, and
most importantly, expandable. It has to be readable and
understandable not only to the person who authored it, but to
other people as well. In this article, you'll find some general
ideas on the elements of good programming style, quick tips for
achieving it, and also some thoughts on how to