View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

Discussion 2 - Blake O'Hare

What are the differences between creational, structural, and behavioral

Describe one design pattern or pattern language in your own words. Explain what interests you about this pattern. Does it make sense to you? Can you see using it in your coding? If so, what for? If not, why not?

Prototype Factory

The prototpye factory stores a bunch of premade instances of classes and rather than manually creating new classes each time you need them, you simply clone the classes in this "corral". This interested me because it's a technique I figured out on my own for a 2335 project last semester where many instances of a few class needed to be created at random intervals. This could be useful for the layout objects in our design where we have the premade layouts in the prototype factory and when they're needed to be placed on the page, they're cloned.


Link to this Page