Categories: None [Edit]
    strategic
if/case conditionals can get really hairy in highly sophisticated business domains.
Domain model inheritance can help remedy the problem, but you don't want to dump all
logic variations in the same domain models.
Strategy Pattern solves that problem by externalizing logic variations to
separate classes outside the domain models.
One difficulty with implementing Strategy Pattern is making domain models aware
of newly added strategies without touching their code (Open/Closed Principle).
Strategic solves that problem by supporting Strategy Pattern with automatic discovery
of strategies and ability fetch the right strategy without conditionals.
This allows you to make any domain model "strategic" by simply following a convention
in the directory/namespace structure you create your strategies under so that the domain
model automatically discovers all available strategies.
    Total
Ranking: 10,972 of 187,548
          Downloads: 237,045
        Daily
Ranking: 7,550 of 187,532
          Downloads: 243
        Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name | 
|---|---|---|
| 171,837 | 2,355 | draw_color_repeat | 
Depends on
| Rank | Downloads | Name | 
|---|---|---|
| 1 | 3,007,742,320 | bundler | 
| 19 | 1,068,708,675 | rspec-mocks | 
| 28 | 924,538,466 | rspec | 
| 98 | 424,894,822 | simplecov | 
| 183 | 247,752,095 | rdoc | 
| 1,817 | 15,844,282 | coveralls | 
| 4,298 | 2,003,183 | jeweler | 
| 7,624 | 527,037 | puts_debuggerer | 
| 29,872 | 43,815 | rake-tui | 
Owners
| # | Gravatar | Handle | 
|---|---|---|
| 1 | andy_maleh | |
| 2 | AndyMaleh | 
 xmisao
xmisao