So, you've gotten past the "wow, this PHP stuff is really cool!" phase and want to dig into things a bit further. Well, a good place to start is taking the right steps to make your code lean and mean. This new article from DevShed aims to help you with just that.
From Writing Clean and Efficient PHP Code: Articles preaching the virtues of writing clean code are abundant with good reason: some things bare repeating. Like any topic covering such an esoteric subject, there are a wide range of opinions as to what exactly defines "clean code". At the end of the day, there are two criterion for clean code: Efficiency and Maintainability
Using three key elements for examples (loops, objects, and code reusability), they show you how the right kind of loop or the proper handling of objects can not only make your code cleaner and execute faster, but make it that much easier for future generations/others to update.




