Where Comments Are Useful

Wednesday, December 24th, 2008

PHP In Action writes on the use of comments in code, specifically citing Eli White’s Commenting on Commenting over at PHP Advent. They are critical of Eli’s advice, saying that comments should be unnecessary, and that code should be clean enough to easily understand it.

11:30 pm | Comment (1) | Print | Categories: Best Practices, Usability, Web Architecture

Keeping Superglobals Out Of Classes

Monday, December 15th, 2008

Have you ever written code like this?

1:41 pm | Comment (1) | Print | Categories: Best Practices, Usability, Web Architecture

Attention Developers: Functions Should Return Things!

Thursday, October 9th, 2008

Hey you…yeah you PHP developer, stop doing this:

7:25 pm | Comment (0) | Print | Categories: Best Practices, Web Architecture

Benchmark Early and Often

Friday, October 3rd, 2008

This past week I had to deal with a new concept: a client site that failed due to excessive load. Most of the week was spent optimizing the site by doing the critical components: installing APC, ensuring that our caching (Akamai) was satisfactory and properly configured, and making performance improvements.

9:56 pm | Comment (1) | Print | Categories: System Architecture, Web Architecture

Is This Ever OK?

Saturday, September 27th, 2008

As a developer I’m often torn between the concept of “it works” and the concept of “it’s right.” This is no less true than in the following example…

11:35 pm | Comment (0) | Print | Categories: Best Practices, Web Architecture
« Older Entries
Newer Entries »
Search:
Copyright © 2008 - 2010. All Rights Reserved.