Results 1 to 4 of 4
  1. #1
    starbuck is offline Member
    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    0

    Default What's the design pattern(s) that describes...

    Could anyone please tell me what the applicable design pattern(s) are for a basic class model of a file?

    Example:

    What's the design pattern(s) that describes...-file.jpg

    Thanks.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: What's the design pattern(s) that describes...

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

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default Re: What's the design pattern(s) that describes...

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  4. #4
    starbuck is offline Member
    Join Date
    Mar 2012
    Posts
    5
    Rep Power
    0

    Default Re: What's the design pattern(s) that describes...

    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.

Similar Threads

  1. Command design pattern
    By hannes in forum AWT / Swing
    Replies: 10
    Last Post: 01-28-2010, 06:41 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •