I'm looking for some good open-source sample applications that use the Table Module pattern to organize the business logic (can be any language).
Any suggestions?
How about the App Pattern: Four-Tier Web Application Scenario (Table Module) from codeplex? I know this is an old post, but I stumbled across it whilst searching for some similar stuff for myself. So I thought an answer might help someone.
By Martin Fowler:
A Table Module organizes domain logic with one class per table in the data-base, and a single instance of a class contains the various procedures that will act on the data.
I don't have any open source examples for you, BUT I think it is quite self-explanatory and easy to grasp.
Here are the signs of this pattern:
I think that it will be easier to find that code in old legacy code than in open source projects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With