The Illustrated Design Patterns Spotter Guide previous: The quote generation DSL next: NHibernate 2.0 Alpha is out! What is the name of the pattern here? QuoteGeneratorRule.Evaluate() RoutingBase.Route() AuthorizationRule.CheckAuthorization() Comments 03/30/2008 11:32 PM by Pyotr Front Controller with Command Pattern? 03/31/2008 12:35 AM by Anon Smugness? 03/31/2008 12:49 AM by Adam V. The SomethingDoer-DoIt pattern? 03/31/2008 06:15 AM by Yuri delegate? 03/31/2008 06:16 AM by Ian Pyotr, now you're just making stuff up. 03/31/2008 06:57 AM by Reshef Looks like "Tell, don't ask" but this is more a principle than a pattern... 03/31/2008 07:56 AM by Robert It looks like a strategy for me 03/31/2008 08:51 AM by Terry This is the "Command Pattern", no? I seem to have at least one of these per project. 03/31/2008 10:12 AM by Ayende Rahien Terry, Yes, absolutely. 03/31/2008 10:33 AM by Ken Egozi I'm with Adam 03/31/2008 01:58 PM by Jeremy Wiebe Singleton Singleton Singleton ;-) 03/31/2008 01:58 PM by Doug Ferguson Strategy pattern. 03/31/2008 07:56 PM by Mohan Kumar Chain of Responsibility 03/31/2008 08:20 PM by Dave Foley I agree with Doug, especially if the concrete types are resolved based on some other business rules (i.e. a different strategy is used based on some different criteria). 04/01/2008 05:08 PM by Manuel Martone Singleton!!!!! 04/02/2008 03:45 PM by abe HAHAHA! Smug pattern! Comments have been closed on this topic.
03/31/2008 06:57 AM by Reshef Looks like "Tell, don't ask" but this is more a principle than a pattern...
03/31/2008 08:51 AM by Terry This is the "Command Pattern", no? I seem to have at least one of these per project.
03/31/2008 08:20 PM by Dave Foley I agree with Doug, especially if the concrete types are resolved based on some other business rules (i.e. a different strategy is used based on some different criteria).
Comments
Front Controller with Command Pattern?
Smugness?
The SomethingDoer-DoIt pattern?
delegate?
Pyotr, now you're just making stuff up.
Looks like "Tell, don't ask" but this is more a principle than a pattern...
It looks like a strategy for me
This is the "Command Pattern", no? I seem to have at least one of these per project.
Terry,
Yes, absolutely.
I'm with Adam
Singleton
Singleton
Singleton
;-)
Strategy pattern.
Chain of Responsibility
I agree with Doug, especially if the concrete types are resolved based on some other business rules (i.e. a different strategy is used based on some different criteria).
Singleton!!!!!
HAHAHA! Smug pattern!