My Implementation Of Active Records
136 words.
I was somewhat gratified to see that the method I had come up with to wrap database rows inside objects has a name: The Active Record Design Pattern. Furthermore, someone else (namely, Castleproject’s ActiveRecord) thought of using .NET attributes to markup the row class just like I did (though chronologically they thought of it after I had finished my first version). It’s always fun to see myself inventing the same things that the so-called “industry leaders” invent. :) (Not that it helps my paycheck, but maybe it will tear down the walls of techno-authoritarianism another notch.) I found it referenced in an unrelated CodeBetter.com article.
(And yes, my framework, which I had just revised and updated last week, is better than Castleproject’s, if for no other reason than that it doesn’t require a million support DLLs.)
Sorry, new comments are disabled on older posts. This helps reduce spam. Active commenting almost always occurs within a day or two of new posts.