Five (Good) Lessons The Government Teaches Us About Object-Oriented Programming
Wednesday, December 2nd, 2009As 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, UncategorizedWhy You Should Replace ENUM With Something Else
Wednesday, November 25th, 2009One 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, TechnologyDesigning Databases: Picking The Right Data Types
Friday, November 20th, 2009When 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, TechnologySuhosin: The Invisible Hand Of PHP
Wednesday, November 18th, 2009Last 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, TechnologyExceptional PHP: Nesting Exceptions In PHP
Thursday, November 12th, 2009In 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
Web developer, amateur photographer, traveller, and amatuer chef. Expect to find me writing code, visiting new places or trying a new recipe. I live with my wife in Olney, Maryland. Follow Me On Twitter!- New Rockville PHP Group
- Excited About PHP Again
- Rethinking The Technical Resume
- We The State, Not We The People
- Working To Defeat the Stop Online Piracy Act
- Diversifying This Blog
- What do you want the web to be?
- Why I Love Being An Engineer
- Validation Blind Spots Hurt Real Users
- Finding A Job Without A Recruiter
