Dofactory.com
Dofactory.com
 Back to list
Views:   8.9K
Replies:  1
Archived

With which Design Pattern would you recommend I start?

Hi:

I am from México, sorry for my English. 

I am a student in Computer Systems and I don't know where to start with Design Patterns.
My professor taught some of Singleton and Factory Patterns, but I don't know where to continue.
How would you recommend I continue my Design Pattern study?

Thanks so much.

Alberto Chargoy, Jul 28, 2011
The easiest is the Singleton, for having unique object instance.
Jul 28, 2011
Reply 1
I guess I started with the following (may not be in order though) and it  was accidental but was definitely helpful and am sticking to these common patterns in my everyday application development....

- Singleton (one instance -> global point of access)
- Factory Method (Use generic factory if you are working with .net to create configurable types)
- Strategy (if you need to vary your algorithms at runtime  e.g. sorting->quicksort->or->mergesort->or some other sorting logic)
- Decorator (attach additional responsibility to an object)
- Facade (Provide higher level of abstraction)
- Command (for eg. for menu actions and toolbar actions)
- Template Method (for what it says... for templated methods that has predefined set of execution cycle like the asp.net page life cycle for eg.)
- And then pick up the ones you understand or could related to in your real work or project work environment.

Hope this helps!.




Rajesh Pillai, Jul 29, 2011
Thanks for the reply Rajesh. A separate class library to store user session state was the option I went with.
Mar 05, 2011
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.