RubyConf 2021 - Service Objects With Dry.rb: Monads and Transactions by Paul Sadauskas

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



Duration: 30:12
286 views
13


Service objects are an important tool in your toolbox, and Dry.rb's Transaction library is one of the most powerful, and one of the most magic. It's a "business transaction" DSL, and has error handling as a primary concern. We'll start by exploring Monads in Ruby (they're not scary!). Then we'll see how that simple concept unlocks another level of service objects that are far more robust and testable, and how to wire them all together with Dry::Transaction. Finally we'll touch on extending transactions with custom steps, and how to integrate them into an existing application.

**Filmed by Colorado Union Videographers




Other Videos By Confreaks


2022-08-09RubyConf 2021 - The Algorithm Ate My Homework by Yechiel Kalmenson
2022-08-09RubyConf 2021 - Contractualism + Software Engineering: We're All In This... by Katya Dreyer Oren
2022-08-09RubyConf 2021 - Reframing Shame & Embracing Mistakes by Jameson Hampton
2022-08-09RubyConf 2021 - Why we worry about all the wrong things by Hilary Stohs Krause
2022-08-09RubyConf 2021 - Problem Solving Through Pair Programming by Emily Harber
2022-08-09RubyConf 2021 - Dishonest Software: Fighting Back Against the Industry Norms by Jason Meller
2022-08-09RubyConf 2021 - Building Native Extensions. This Could Take A While... by Mike Dalessio
2022-08-09RubyConf 2021 - How GitHub uses linters by Joel Hawksley
2022-08-09RubyConf 2021 - How to Make a Gem of a Gem by Justin Searls
2022-08-09RubyConf 2021 - The Science and Magic of Debugging by Vaidehi Joshi
2022-08-09RubyConf 2021 - Service Objects With Dry.rb: Monads and Transactions by Paul Sadauskas
2022-08-09RubyConf 2021 - Ruby Archaeology by Nick Schwaderer
2022-08-09RubyConf 2021- Automating Legacy Desktop Applications with JRuby and Sikuli by Chris Cha
2022-08-09RubyConf 2021 - Schrödinger's Error: Living In the grey area of Exceptions by Sweta Sanghavi
2022-08-09ubyConf 2021 - Keeping Developers Happy with a Fast CI by Christian Bruckmayer
2022-08-09RubyConf 2021 - Vertical Assignment in Ruby by Kevin Kuchta
2022-08-09RubyConf 2021 - Do regex dream of Turing Completeness? by Daniel Magliola
2022-08-09RubyConf 2021 - Learning Ractor with Raft by Micah Gates
2022-08-09RubyConf 2021 - The art of deleting code by Claudio Baccigalupo
2022-08-09RubyConf 2021 - Blank Page Panic! Creating Confidence with TDD by Elayne Juten
2022-08-09RubyConf 2021 - To mock, or not to mock? by Emily Giurleo