Articles on microframework

Purple pattern
Erin Swenson-Healey

Erin Swenson-Healey

Sinatra Best Practices: Part One

While Sinatra’s one-file approach may work well for your one-off, smaller application – it can quickly become a mess as you add on multiple routes, route-handlers, helpers, and configuration. So what’s a programmer to do? In reading Sinatra’s documentation I’ve found a few morsels that have enabled us to split our otherwise-monolithic (I realize this