Master Hexagonal Architecture in Rust
Take the pain out of scaling. This guide has everything you need to write flexible, future-proof Rust applications using hexagonal architecture. Share better Rust! Contents Introduction Part I: Anatomy of a bad Rust application Part II: Separation of concerns, the Rust way Part III: Service, the heart of hexagonal architecture Part IV: Trade-offs of hexagonal architecture in Rust Part V: Advanced hexagonal architecture in Rust Exercises Discussion Hexagonal Architecture. You've heard the buzzwords. You've wondered, "why hexagons?". You think domain-driven design is involved, somehow. Your company probably says they're using it, but you suspect they're doing it wrong. Let me clear things up for you. By the end of this guide, you'll have everything you need to write ironclad Rust applications using hexagonal architecture. I will get you writing the most maintainable Rust of your life. Your production errors will fall. Test coverage with skyrocket. Scaling will get less painful. If you ha
Contents Introduction Part I: Anatomy of a bad Rust application What problems does hexagonal architecture solve? Hard dependencies and hexagonal architecture: how to make the right call Part II: Separation of concerns, the Rust way Getting started with hexagonal architecture The repository pattern in Rust Domain models Error types and hexagonal architecture Implementing AuthorRepository Everything but the kitchen async From the Very Bad Application to the merely Bad Application Testing HTTP handlers with injected repositories Part III: Service , the heart of hexagonal architecture Introducing
Explore this link on the map →related reading
- Hexagonal Architecture Explained | Shouldn't Be Hardarhohuttunen.com
- Dependency Injection in Rust. Managing application state &… | by Orion Kindel | Geek Culture | Mediummedium.com
- Clean Coder Blogblog.cleancoder.com
- Hexagonal Architecture With Spring Boot | Shouldn't Be Hardarhohuttunen.com
- A half-hour to learn Rustfasterthanli.me
- Tao of Node - Design, Architecture & Best Practices | Alex Kondovalexkondov.com
- Modular Errors in Rust - Sabrina Jewsonsabrinajewson.org
- Patterns for Defensive Programming in Rust | corrode Rust Consultingcorrode.dev
- Microservices: Decomposing Applications for Deployability and Scalability - InfoQinfoq.com
- PP - How To Implement Domain-Driven Design (DDD) in Golangprogrammingpercy.tech
- Bulletproof node.js project architecture 🛡️softwareontheroad.com
- Item 7: Use builders for complex types - Effective Rustlurklurk.org