~/talk

Separating Your Concerns With the Solidus Event System

Talkat Solidus Conf 7 · 2022-01-27..01-28· [ruby-on-rails]
links:none on file
slides:none on file

Claims that the Solidus event system decouples side effects from core logic and makes extensions testable and maintainable, demonstrating actual examples: built a cart_updated custom event and uses built‑in order_recalculated and order_finalized events, shows payload design (order and boolean result), tests with current ActiveSupport::Notifications and notes the new custom event bus in master improves test isolation, warns about publisher/subscriber loops and transaction/async ordering issues, and reports success integrating analytics with Segment.

AI-written summary · about

  1. 0:00Introduction
  2. 0:25About Chris
  3. 1:42Agenda
  4. 2:23Separation of Concerns
  5. 4:37Why is this important
  6. 5:59The importance of separation
  7. 7:52Overriding core functionality
  8. 9:07Publishing and subscribing
  9. 10:35Benefits
  10. 11:45Solidus Events
  11. 12:28Solidus Event Subscriber
  12. 13:56Adding Custom Events
  13. 15:44Testing
  14. 17:10Subscribe to Custom Event
  15. 17:35Unit Tests
  16. 22:42Resources
~/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.