Five (Good) Lessons The Government Teaches Us About Object-Oriented Programming

Wednesday, December 2nd, 2009

As Benjamin Franklin once famously said, “the only two things that are certain in life are death and taxes.” His point, while political, has a good perspective on one of life’s ever-persistent truths: the fact that governments exist in every country, and, largely, they have some of the same benefits and drawbacks everywhere.

1:00 am | Comment (1) | Print | Categories: Best Practices, Object-Oriented Development, Technology, Uncategorized

Why You Should Replace ENUM With Something Else

Wednesday, November 25th, 2009

One of the most hotly contested points of my article on database design was the suggestion that developers drop the use of ENUM and use something else instead. Lots of people argued in favor of ENUM; however, there are several good reasons why developers should reconsider ENUM and use it sparingly.

1:00 am | Comment (19) | Print | Categories: Best Practices, Databases, Technology

Designing Databases: Picking The Right Data Types

Friday, November 20th, 2009

When I started writing this blog post, I had titled it “Tips for Designing Databases” and I planned to talk about various database design techniques. However, as I did more and more research, it dawned on me that one of the most crucial, and most overlooked, components of database development, is the selection of data [...]

1:00 am | Comment (15) | Print | Categories: Best Practices, Databases, Technology

Suhosin: The Invisible Hand Of PHP

Wednesday, November 18th, 2009

Last week, I received an email from someone who told me how the Suhosin patch had created problems for their team, and suggested that I write about it here. I thought this was a great idea, for a number of reasons. Particularly, Suhosin is one of those PHP patches that alters the way PHP operates [...]

1:00 am | Comment (8) | Print | Categories: Best Practices, Security, Technology

Exceptional PHP: Nesting Exceptions In PHP

Thursday, November 12th, 2009

In the last two entries we have talked about the concept of layer abstraction: that is, that exceptions should not be allowed to pass out of one layer and into another. So, when an exception is raised in the database layer it should be caught in the controller. But how do we go about making [...]

1:00 am | Comment (1) | Print | Categories: Best Practices, Object-Oriented Development, PHP 5, Technology
« Older Entries
Newer Entries »
Search:
Copyright © 2008 - 2010. All Rights Reserved.