Could anyone please tell me what the applicable design pattern(s) are for a basic class model of a file?
Example:
Attachment 3376
Thanks.
Printable View
Could anyone please tell me what the applicable design pattern(s) are for a basic class model of a file?
Example:
Attachment 3376
Thanks.
First off, what are your thoughts on this question? Do you have a possible answer or answers that you've been considering? As far as design patterns go, this one is not very complex, and you can safely rule out the creational and behavioral patterns (I believe)...
Good question Fubarable, I was thinking template pattern, though it is behaviourable.
Perhaps composite ...? If the file is considered a collection of rows only.
The reason I ask is because I often fall victim of the consequences of a pattern I am unaware I am using. So if I understand the options available I might be able to design the interfaces correctly to correctly structure the object model.