back

by evolve2k·14y ago·view on hn ↗
'A practice that is quickly gaining popularity in the Ruby community is isolating your business logic from your persistance logic and framework.'

Anyone have links/further reading for this?

3 comments
Arguably the start of the big community push in that direction was Corey Haines' "Fast Rails Tests" talk, which is really just a clever way of presenting the separation of logic argument. See: http://arrrrcamp.be/videos/2011/corey-haines---fast-rails-te... (or google "fast rails tests corey haines" for other videos)
I would also recommend two of Steve Klabnik's articles: http://blog.steveklabnik.com/posts/2011-09-22-extracting-dom... and http://blog.steveklabnik.com/posts/2011-09-06-the-secret-to-...

Another excellent resource is Gary Bernhardt's "Destroy All Software" screencast series. They are well worth the $9/month pricetag. https://www.destroyallsoftware.com

Sounds like some sort of "Domain-Driven Design" (or DDD).