Five foundations for building complex Ruby on Rails apps
The article discusses five foundational approaches for building complex Ruby on Rails applications. It emphasizes the importance of Domain Driven Design, Mutation Testing, Event Sourcing, and CQRS in creating maintainable and scalable applications. These methodologies aim to align software development more closely with business needs and improve code quality.
- ▪Domain Driven Design prioritizes understanding business needs over technical abstractions.
- ▪Mutation Testing verifies the quality of tests and is used by companies like Google for critical systems.
- ▪Event Sourcing allows for incremental implementation of complex business workflows without creating unnecessary abstractions.
Opening excerpt (first ~120 words) tap to expand
Five foundations for building complex Rails apps I recently wrote that for most apps out there, following the Rails-way or Vanilla Rails approach is more than enough. However, over the last few years, I have seen that a different approach is needed when the app is growing beyond the typical Rails app complexity (usually more than 100-150k lines of code). To build maintainable complex Rails apps that are able to reflect the business itself and grow at the same pace as the business is growing, you need to establish a brand new foundation, both technical and mental. When you work with complex applications, there is no silver bullet to ensure they remain maintainable. There are layers, and not every layer will work in your own unique case.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at Paweldabrowski.