Why Active Record Isn’t A Bad Design Pattern
Tuesday, March 16th, 2010Were I writing this as an article for a newspaper, the subhead would be “Design Patterns Don’t Cause Application Slowness.” The point of this piece isn’t to defend Active Record per se; it’s to discuss the fact that design patterns aren’t to blame for your application’s problems, and more to the point, design patterns aren’t [...]
9:00 am | Comment (9) | Print | Categories: Best Practices, Object-Oriented Development, System Architecture, TechnologyCool DateTime Functions In PHP 5.3
Monday, January 25th, 2010Over time, the PHP DateTime object has become one of the best objects available to PHP developers. This object has grown since early PHP 5 into a robust class that has the ability to do lots of great things.
1:00 am | Comment (11) | Print | Categories: Object-Oriented Development, PHP 5, TechnologyFive (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, UncategorizedExceptional 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, TechnologyExceptional PHP: Extending The Base Exception Class
Wednesday, November 11th, 2009On Monday, we talked about the basics of exceptions and how they are used in PHP (as well as in other object-oriented programming languages). As promised, today we are going to talk about extending the base exception class in PHP.
1:00 am | Comment (5) | 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
