GoRuCo 2012 Hexagonal Rails by Matt Wynne
Channel:Confreaks · Length:29:23 · Published:2012-07-01 · Views:16540
Summary
Matt Wynne's GoRuCo 2012 talk on why Rails apps get hard to change as they grow, and how a ports-and-adapters hexagonal architecture separates application logic from the framework.
Why HN recommends it
HN cites it as a resource for decoupling Rails code and for faster tests.
I'd recommend watching (Hexagonal Rails GoRuCo talk) for one way to re-architect — HN, 2012
Python, Ruby & scripting languages · Software architecture & design
Subtitles (excerpt)
uh our next speaker is Matt W talking about hexagonal rails morning I just need to point out first of all that I'm not David chelimsky despite what it says on your program so I'm Matt you might know me from the Cucumber book that's not actually what I'm here to talk about today I'm here to talk about a project I've been working on which is sort of an offshoot from cucumber um I'm trying to bootstrap a little product which you might have seen it hosts aspects uh documentation it's called relish and it's a rails app and this talk is really all about my experiences trying to make relish into what I would feel would be a habitable rails application so a rails application that I'd like to carry on working on so the first thing I need to qualify this talk with is just because I'm up here on stage talking to you doesn't make me at least in my eyes any kind of an authority so some of the ideas I'm going to talk about I I'm still just tentatively grasping at them right I'm not here with some prepackaged solution for you I'm here with some ideas that I want to share to be part of this conversation that I'm really excited about that's going on in the rails community at the moment moment about how do we learn from other communities about how they do
On Hacker News
Was going to say the same thing. Models should not know or care about background queues or mailings, and callback use has always caused problems for me later on. Nothing against the OP, it does explain a common edge case that many people will run into and for that it's a good article, but I wish more people would see the violations of SRP going on here and try to lead people away from this trap. … — jameskilton, 2012-08
Rails used as intended can be a real pain to upgrade, I agree. Recently I have been developing applications in the "thin-model, thin-controller, with a service layer and external API wrappers" style, as espoused by Gary Bernhardt [1] and others [2] [3] [4] [5]. I upgraded to the latest Rails this morning on one app, and apart from swapping the Money gem to use the git repository, until they have … — douglasfshearer, 2014-12
Am I only the only one that doesn't find 'All tests in 4 minutes, all model tests in 80 seconds' very impressive? It sounds like a really long time to me. You know what could increase the speed dramatically.... decoupling. I also think decoupling phrased in the context of the Rails 2 to Rails 3 upgrade, where pretty much everything changed, makes perfect sense. Imagine just having a few wrapper c… — kentwistle, 2014-04
Related videos
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- The spelled-out intro to neural networks and backpropagation: building micrograd · Andrej Karpathy · 2:25:52
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Problem with Time & Timezones - Computerphile · Computerphile · 10:12
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Lecture 1A: Overview and Introduction to Lisp · MIT OpenCourseWare · 1:12:55
- Alan Kay - Normal Considered Harmful · powerfuloutlet · 1:07:26
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- A Philosophy of Software Design | John Ousterhout | Talks at Google · Talks at Google · 1:01:40