Building Generic Software
summary
A concrete claim: a pluggable protocol (backend + plugin) makes translation gems reusable without coupling storage and access logic. The author shows Mobility (with backends for translatable columns, translation tables and JSONB) and compares Globalize and Traco, implements read/write + setup_model backend methods plus plugin modules for fallbacks and dirty tracking, uses inversion of control / the Hollywood Principle, and demonstrates the framework works with ActiveRecord and Sequel.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:56What is generic software
- 6:25Translating attributes
- 11:55Generic storage patterns
- 15:59Inversion of control
- 20:40Building a framework
- 25:37Separation of concerns
- 30:08The Mobility framework
- 34:29Protocols and design








