| layout | page |
|---|---|
| title | Books |
| permalink | /books/ |
| description | Two technical books by David Silva — Modular Rails: Architecture for the Long Game, and Building Your Own Roguelike — each with a complete, free web edition alongside print and eBook. |
| image | /img/og-default.png |
Two technical books — each with a complete, free web edition alongside the print and eBook editions.
A practical guide to building maintainable Ruby on Rails applications with mountable engines — the architecture Rails has been shipping since version 3.1.
Bridges the gap between software architecture principles and the tools Rails already ships. Takes the thinking of Robert C. Martin, Neal Ford, Mark Richards, and Kent Beck and applies it to real Ruby on Rails applications — with working code, honest trade-offs, and a companion open-source application (Orbit) you can clone and run yourself.
Four parts. Eighteen chapters. 378 pages.
{% include buy-panel.html book="modular_rails" %}
Build a complete roguelike in plain Ruby — from a playable prototype to procedural generation, Entity-Component-System architecture, and event-driven systems.
Vanilla Roguelike is the open-source codebase this book grew out of, written and rewritten over five years. Each chapter walks the same path the codebase actually took: a playable prototype first, then maze generation algorithms, then the architectural breaking points that forced a refactor to ECS, and finally the combat, inventory, AI, and event-driven layers built on top. You learn not just how to write each system, but why each architectural decision was made — and what was tried first and thrown away.
No frameworks. No engine. Just Ruby, a test suite you can trust, and the trade-offs on the page rather than hidden in conventions.
{% include buy-panel.html book="vanilla_roguelike" %}{% include newsletter.html tag="source:books-hub" book_tag="books-hub" %}