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.)

Related

This page is a static archival copy of what was originally a WordPress post. It was converted from HTML to Markdown format before being built by Hugo. There may be formatting problems that I haven't addressed yet. There may be problems with missing or mangled images that I haven't fixed yet. There may have been comments on the original post, which I have archived, but I haven't quite worked out how to show them on the new site.

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.