Peer Review: Taking Code And Making It Better

Saturday, August 15th, 2009

On Wednesday, August 12th, we had a meeting of the DC PHP Developer’s Group. Keith Casey of Blue Parabola led a code review of a member-submitted sample. The review was informative, educational, and helpful. With the permission of that member, I’ve decided to write a series on the tools for reviewing code and re-factoring it. [...]

7:00 am | Comment (0) | Print | Categories: Best Practices, PHP 5

Peer Review: Managing Coding Standards

Monday, August 17th, 2009

If you need a sample of the code, please visit here. One of the first things I look for when I check out code is how is the code organized? Is it laid out well? Is it coded to a particular standard? In our code sample, the first thing we should address is how does [...]

12:00 am | Comment (8) | Print | Categories: Best Practices, PHP 5, System Architecture

Peer Review: Looking Into Abstraction

Wednesday, August 26th, 2009

This entry is part of an ongoing series involving the review of a code sample and it’s refactoring. For the original code sample, see here. There are a number of fundamental concepts in object-oriented design that we should take notice of. One of these concepts is abstraction. This is what we will focus on today [...]

1:00 am | Comment (11) | Print | Categories: Best Practices, System Architecture

Peer Review: Looking At Abstraction – Redux

Monday, August 31st, 2009

This entry is part of an ongoing series involving the review of a code sample and it’s refactoring. For the original code sample, see here. Editor’s Note: The response of the community to this series has been great, and I’ve been given a large number of suggestions. I’ve incorporated some of those suggestions into the [...]

6:30 am | Comment (2) | Print | Categories: Best Practices, Debugging, System Architecture

Peer Review: Improving The Business Logic

Tuesday, September 8th, 2009

This entry is part of an ongoing series involving the review of a code sample and it’s refactoring. For the original code sample, see here. So far, we’ve done quite a bit of work on our Twitter class, making it better. There’s still work to be done, though, especially improving the logic. The Twitter class [...]

1:00 am | Comment (10) | Print | Categories: Best Practices, Debugging, System Architecture
« Older Entries
Search:
Copyright © 2008 - 2010. All Rights Reserved.