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 we have now has a number of logical flaws in it that we need to address. Additionally, there are some logical flaws that we started with that I want to highlight, even though we’ve already fixed them. Let’s get started with those.
Tuesday, September 8th, 2009 @ 1:00 am |
Comment (10) |
Categories: System Architecture, Debugging, Best Practices
Tags: objects php 5, PHP 5, business logic, design