Hot Political Topics:

Twitter.com

Profile_bird

Hey there! stevenharman is using Twitter.

Twitter is a free service that lets you keep in touch with people using the web, your phone, or IM. Join today to start receiving stevenharman's updates.

Already using Twitter via SMS or IM? Finish signing up.

stevenharman

@colin_jack The strategy looks like a good route to take if I need reuse in the service, but here I think an explicit random service is nice
@chadmyers the list is dynamic - there can/will be new entities added (and occasionally removed) as time goes on.
@derickbailey yeah, exactly... where does that logic fit? And can it even be built w/in they typical DDD pattern language?
@derickbailey w/r/t: biz case. Think of a lottery system... or maybe a random draft for a fantasy league. (not exactly, but similar).
@derickbailey Am I making any sense... maybe a higher-bandwidth medium is needed.
@derickbailey I don't believe it belongs on a repo, but likely a domain service... but how do you actually find a random one?
@derickbailey Sure... we have a need to grab a random entity, but my question is - how? And where does that kind of behavior belong?
I need to select a random entity (of a known Type). Seems like a responsibility of a domain service, but what then? Pass on to Repository?
Knocking out a few hours of work before heading to Cleveland for some Monday Night Football!
Rockin' out at Hineygate w/ The Danger Brothers and a mug full o' Budweiser!
Headed to campus... Go Bucks!
@aaronjensen And just out of curiosity, why would you recommend against referencing it? Is it in that much flux?
@aaronjensen Cool, I'll spend some time spelunking first, but don't be surprised if I ring you up! :) Thanks!
@aaronjensen btw... you don't happen to have the basic framework for this stuff in Machine, do you? :)
@aaronjensen OK. I'm still missing exactly how you get the context into your builder - not seeing it in the example usage in ur blog post.
@laribee Haha... it is a very Herbie 'do, indeed!
@aaronjensen So do your FF _always_ push the object graphs all the way to the db? I'd think not, but didn't see an explicit mention of that.
@aaronjensen w/r/t: Fluent Fixtures, are you still in this ballpark? http://blog.eleutian.com/20...
@aaronjensen I used to like behaves_like, but recently they've really started feeling obtuse & out of place - what do your FF's look like?
@chadmyers Suggestion... break away from the fixture-per-class pattern and you'll find yourself using much more expressive test names. :)
100
Following
586
Followers
4,739
Updates

Following

jef Jason Alexander Scott Watermasysk ǝɹooɯ ǝʞıɯ Michael L. Raymond Lewallen Scott Koon Keyvan Nayyeri Alan Le Jon Galloway Phil Haack Kevin Dente Tim Heuer Miguel de Icaza Leon Joe O'Brien Glenn Block Barry Dorrans Jay R. Wren Scott Cate David Laribee James Bender Dan Hounshell Kevin Cawley Travis Illig Scott Hanselman Chris Ortman Jeff Blankenburg Rob Conery Joel Ross Scott C Reynolds Josh Holmes Simone Chiaretta Keith Elder Javier Lozano Jason Follas