~/talk

Structure and Chain your Poros

Talkat RubyDay 2016 · 2016-11-25..11-26· [ruby]
slides:none on file

Argues service objects (POROs) isolate business logic and act as a stable facade, shows concrete chaining pitfalls and patterns: class vs instance invocation, exception-rescue central handler, boolean-return if-else explosion, event-driven with Wisper event broadcasts that can recreate callback hell, and monadic binds that force truthy returns and make value-passing awkward. Demonstrates a real chain — convert -> extract picture -> extract translation segments — and mentions Trailblazer, Interactor and background workers as actual tools used. Claims most approaches work but chaining choice controls error visibility and complexity.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:14Service objects in Ruby
  3. 6:38Triggering actions in services
  4. 9:54Handling success and failure
  5. 16:17Chaining service objects
  6. 20:15Benefits of service objects
  7. 22:42Q&A and closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.