grounded / afterburner

A bunch of ideas allowing developers to defer decisions in, and reduce coupling of, an application's technology stack through the provision of design patterns.
MIT License
4 stars 0 forks source link

DRY up protocol registration into a small DSL. #18

Closed parndt closed 11 years ago

parndt commented 11 years ago

So, I worked on this with @yrb and @shevaun during Rails Camp NZ #3 and we came up with this.

Might have some reservations about making this a DSL though and whether the docs can be DRYed up or not..

What's everyone think?

yrb commented 11 years ago

It does seem a bit overkill for the two protocols that are currently present. Though for keeping the pattern consistent between protocols it does feel like a win. I am still wondering if we can achieve the same structure in a different way, I might explore later this week :smiley: