News for hackers. Stuff that matters.
Re:Architecture Patterns with Python by shesstillamodel on Friday March 28, 2025 @03:47AM (#43502651)
Even though most people might think of web architectures when it comes to this book, we used this to design an architecture for an AI that optimises energy efficiency in a manufacturing factory.

Great book!

Re:Architecture Patterns with Python by fastasucan on Friday March 28, 2025 @04:43AM (#43502985)
Is it easy to transpose to other types of architectures, or is it leaning heavily against web development? Thank you for sharing, your project sounds really interesting by the way! :)
Re:Architecture Patterns with Python by globular-toast on Friday March 28, 2025 @08:16AM (#43504440)
One of the key points of the book (and DDD in general) is the web stuff is just a detail at the edge of an application. You should be able to replace the web bit (for which they use flask) with any other entry point. In fact, they do this by having an event subscriber entry point and IIRC a CLI entry point. The whole point is it all uses the same core code implementing the domain logic.