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: 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: 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

To stat() Or Not To stat()?

Thursday, July 30th, 2009

The Alternative PHP Cache (APC) is a tool that offers a massive performance gain to almost any PHP application simply by turning it on. This extension to PHP provides both opcode caching and user caching, placing files and data into memory for fast retreival, and, if used correctly, eliminating some of the bottlenecks of the [...]

4:33 pm | Comment (3) | Print | Categories: Best Practices, System Architecture

Making Life Better With The SPL Autoloader

Friday, July 24th, 2009

How many of us have seen this example in code we’ve worked on? [sourcecode language="php"]

3:00 am | Comment (13) | Print | Categories: Best Practices, PHP 5, System Architecture
« Older Entries
Newer Entries »
Search:
Copyright © 2008 - 2010. All Rights Reserved.