in reply to Selecting one of two implementations
The second scenario looks to be overcomplicated. It sounds like it's a glorified hash and the $key_obj is the guy that has to do all the work. Create a hierarchy that handles the various kinds of $key_obj's and you should be fine. I vote for Scenario 2.
The Perfect is the Enemy of the Good.
|
|---|