← Graph

Scaling an Open Source E-Commerce Framework

talk 23 connections

Rafael Zamaris's wroclove.rb 2023 talk sharing stories and lessons from Upside's first year as lead maintainer of the Spree open-source e-commerce framework. Sets the context that Spree users need to scale from MVP to IPO and explores three major challenges every adopted open-source project faces — (1) roadmap/vision (GitHub discussions and projects used to publish a roadmap increased contributor engagement); (2) upgrades (avoid unnecessary breaking changes, favor depreciation schedules with log warnings, extract legacy APIs to separate gems like the old Spree API still used by Klaviyo); (3) maintainability of customizations. For customizations, walks through a cart-item-add example showing how users historically monkey-patched private methods (treating private interfaces as binding), the consequent upgrade pain, and Spree's shift ~5 years ago to encapsulated service objects with a built-in dependency-injection system where users register their own implementations. Covers decoupling UI rendering so admin-panel customizations happen through a helper API instead of Deface HTML injection. Closes on optional typing — comparing Sorbet and RBS, promoting the TypeScript-style attitude of shipping types to support library consumers without forcing them. Q&A covers how feedback on monkey-patching is collected, why events aren't yet introduced in Spree, and splitting 'add item' into separate 'add new' vs 'increase existing' strategies configurable via DI.

type
talk
talk Scaling an Open Source E-Commerce Framework
about
Spree tool
Primary subject of the talk — scaling and maintaining Spree.
talk Scaling an Open Source E-Commerce Framework
about
Discusses Rails patterns and upgrade pain as they affect Spree maintainers.
talk Scaling an Open Source E-Commerce Framework
about
Identifies fat-model thin-controller as a historical design that complicated Spree maintenance.
talk Scaling an Open Source E-Commerce Framework
about
Solidus tool
Cites Solidus as a community fork created when Spree's roadmap faltered.
talk Scaling an Open Source E-Commerce Framework
about
Deface tool
Discusses Deface-based HTML injection as a brittle extension approach Spree is replacing.
talk Scaling an Open Source E-Commerce Framework
about
Monkey Patching concept
Analyzes monkey-patching as the legacy customization style in Spree and its maintenance costs.
talk Scaling an Open Source E-Commerce Framework
about
Promotes Spree's built-in dependency-injection system as the replacement for monkey patching.
talk Scaling an Open Source E-Commerce Framework
about
Duck Typing concept
Discusses limits of duck typing and how to complement it with optional typing.
talk Scaling an Open Source E-Commerce Framework
about
Sorbet tool
Team is experimenting with Sorbet to type service-object interfaces in Spree.
talk Scaling an Open Source E-Commerce Framework
about
RBS tool
Compared to Sorbet; RBS is closer to Ruby but harder to find examples for.
talk Scaling an Open Source E-Commerce Framework
about
TypeScript tool
Cites TypeScript's culture of shipping optional types as a model for Ruby libraries.
talk Scaling an Open Source E-Commerce Framework
about
Klaviyo tool
Klaviyo's integration with Spree-based stores depends on the legacy API, influencing deprecation strategy.
talk Scaling an Open Source E-Commerce Framework
about
Referenced as kicking off the subscription-commerce trend that drove Spree adoption.
asked_at
Scaling an Open Source E-Commerce Framework talk
Audience question during Q&A.
asked_at
Scaling an Open Source E-Commerce Framework talk
Audience question during Q&A.
asked_at
Scaling an Open Source E-Commerce Framework talk
Audience question during Q&A.
authored
Scaling an Open Source E-Commerce Framework talk
Delivered the talk on maintaining Spree at wroclove.rb 2023.
from_talk
Scaling an Open Source E-Commerce Framework talk
Extracted from the talk's discussion of how escalating issues push users to replatform.
from_talk
Scaling an Open Source E-Commerce Framework talk
Extracted from the roadmap section of the talk.
from_talk
Scaling an Open Source E-Commerce Framework talk
Extracted from the upgrades section of the talk.
from_talk
Scaling an Open Source E-Commerce Framework talk
Extracted from the maintainability / service-objects section of the talk.
from_talk
Scaling an Open Source E-Commerce Framework talk
Extracted from the talk's closing remarks.
talk Scaling an Open Source E-Commerce Framework
presented_at
Talk delivered at wroclove.rb 2023 (source date 2023-03-31).

Provenance

Read by
10 extractions