One of the OOP guidelines is DRY - Don’t Repeat Yourself. Good programmers avoid duplicate code. However, there are times when you need to implement the same pattern or template on a regular basis. You may have to repeat the pattern, but why repeat the development?

Techniques to re-implement simple patterns include:

The key is to get it right the first time, and then to always implement it in a consistent manner.

Also, don’t reinvent the wheel. Other people have already developed templates for common patterns. Some examples:

Your Host: webmaster@truewill.net
Copyright © 2000-2013 by William Sorensen. All rights reserved.