6 ms·
'A practice that is quickly gaining popularity in the Ruby community is isolating your business logic from your persistance logic and framework.' Anyone have l
by evolve2k 15y ago
'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?
- tialys 15y agoArguably 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-tests/ http://arrrrcamp.be/videos/2011/corey-haines---fast-rails-te... (or google "fast rails tests corey haines" for other videos)
- hello_moto 15y agoSounds like some sort of "Domain-Driven Design" (or DDD).
- joshuadavey 15y agoI would also recommend two of Steve Klabnik's articles: http://blog.steveklabnik.com/posts/2011-09-22-extracting-domain-models-a-practical-example http://blog.steveklabnik.com/posts/2011-09-22-extracting-dom... and http://blog.steveklabnik.com/posts/2011-09-06-the-secret-to-rails-oo-design 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 https://www.destroyallsoftware.com