GoRuCo 2012 Hexagonal Rails by Matt Wynne

Channel:
Subscribers:
42,100
Published on ● Video Link: https://www.youtube.com/watch?v=CGN4RFkhH2M



Duration: 29:23
16,189 views
197


In the early days of a project, Rails absolutely dazzles.

Tragically, the very same forces that make it so easy to add new features to a brand new Rails application are the ones that start to hold you back as the number of features grows.

Your test suite gets slower and slower, and refactoring becomes more and more of a chore. Everything seems coupled together, and it's hard to see much of a structure other than the MVC triad.

In this talk, Matt explains why this happens, and shows you a way out, using a ports-and-adapters or hexagonal architecture to introduce a separation between your application's domain logic, and the Rails framework.

With practical examples, you'll learn how to apply techniques like:

tell-don't-ask
domain services
value objects
view models
presenters
This talk is suitable for advanced Rubyists who want to enjoy the benefits of Ruby's great Object-Oriented and functional programming features in their Rails applications.

Bio
Matt Wynne works as an independent programmer and consultant, helping teams like yours learn to enjoy delivering software to the best of their abilities. He is a core developer on the Cucumber project, and co-author of The Cucumber Book. He blogs at mattwynne.net and tweets as @mattwynne.

Help us caption & translate this video!

http://amara.org/v/FGi4/




Other Videos By Confreaks


2012-08-07Mountain West Ruby Conf 2009 Herding Tigers - Software Development and the Art of War by Danny Blitz
2012-07-28Rails Conf 2012 It's Not in Production Unless it's Monitored by Joseph Ruscio (improved audio)
2012-07-15Rails Conf 2012 Extending Ruby with Ruby by Michael Fairley
2012-07-13It's not in Production Unless it's Monitored by Joseph Ruscio
2012-07-13Code spelunking in the All New Basecamp by Nick Quaranto
2012-07-13MiniTest: Refactoring Test Unit and RSpec back to version 0.0.1 by Jared Ning
2012-07-03Lightning Talks - Part 1 hosted by Dr. Nic Williams
2012-07-02Redis Application Patterns in Rails by Obie Fernandez
2012-07-01Goruco 2012 Building Developers Lessons Learned from Hungry Academy by Jeff Casimir,
2012-07-01GORUCO 2012 The Future of Deployment by Nic Williams
2012-07-01GoRuCo 2012 Hexagonal Rails by Matt Wynne
2012-07-01Goruco 2012 Power Rake by Jim Weirich,
2012-07-01Better Ruby Through Design Principles by Mike Gehard,
2012-07-01Maintaining Balance while Reducing Duplication: Part II by David Chelimsky,
2012-07-01Goruco 2012 Sensible Testing by Justin Leitgeb,
2012-07-01GoRuCo 2012 Maps want to be free! by Sebastian Delmont,
2012-07-01GoRuCo 2012 From Zero to API Cache w Grape & MongoDB in 10 minutes by Daniel Doubrovkine,
2012-07-01GoRuCo 2012 Building Developers Lessons Learned from Hungry Academy by Jeff Casimir
2012-07-01Why Hashes Will Be Faster in Ruby 2.0 by Pat Shaughnessy,
2012-07-01Organizing and Packaging Rich Javascript Apps with Ruby by Luke Melia,
2012-07-01High Perfmance Caching with Rails by Matt Duncan,



Tags:
goruco
goruco2012
ruby
(programming
language)
hexagonal
rails