~/talk

Taking Refinery off the Rails

Talkat RubyConf AU 2017 · on Friday, 2017-02-10· [ruby-on-rails, ruby]
slides:none on file

Rebuilds Refinery CMS with Hanami and dry-rb into an API‑first JSON CMS, replaces Rails + jQuery + organic CSS with React/Preact + webpack, and models persistence with ROM and Postgres JSONB so queries inside JSON fields are fast on even dozens of records. Prototype splits features into small gems/apps per endpoint to reduce coupling and maintenance burden, uses dry‑validation for request shapes, and the proof‑of‑concept works and simplifies upgrades and testing.

AI-written summary · about

  1. 0:00TAKING REFINERY OFF THE RAILS
  2. 0:17PHILIP ARNDT
  3. 0:50SAM SEAY
  4. 1:39REFINERY CMSTM THE MOST POPULAR RAILS CMS
  5. 2:25RAILS CMS?
  6. 2:47RAILS DOES A LOT
  7. 3:24RAILS IS
  8. 3:52ACTIVELY MAINTAINED
  9. 4:44FROM A GEM MAINTENANCE PERSPECTIVE
  10. 5:35REFINERY AND RAILS SITTING IN A TREE
  11. 5:48SUCH TECHNICAL DEBT
  12. 7:09FEELS LIKE RUBY
  13. 7:50STRICT REPOSITORY PATTERN
  14. 8:54ENCOURAGES SEPARATION OF CONCERNS
  15. 9:33BUILT USING DRY-RB LIBRARIES
  16. 10:24DRY- VALIDATION
  17. 13:23ACCESS TO RUBY OBECT MAPPER (ROM-RB)
  18. 16:24CODE LIVES IN LIB
  19. 17:07PREFER DRY-RB
  20. 17:44AN APP PER ENDPOINT
  21. 18:47HANAMI FOR FRONTEND DEVELOPMENT
  22. 19:29DESIGNING AN API FIRST CMS
  23. 20:30A HEADLESS CMS, MULTISITE SUPPORT AND MORE
  24. 21:12BUILDING JSON APIS WITH HANAMI IS SIMPLE!
  25. 22:28REACT COMPONENTS REPLACE RAILS FORMS
  26. 24:57JAVASCRIPT IN HANAMI
  27. 25:07HANAMI'S ASSET PIPELINE
  28. 26:18BRIDGING JAVASCRIPT TOOLS WITH RUBY FEELS BAD
  29. 27:42WEBPACK + HANAMI = HARMONY
  30. 29:45WRITING YOUR OWN SOFTWARE CAN SOMETIMES BE GOOD!
  31. 30:37GO ALL IN ON WEBPACK'S FEATURES
  32. 31:36WEBPACK IS NOT YOUR ONLY OPTION
  33. 31:55IN CONCLUSION
  34. 33:38THANK YOU
~/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.