Message from JavaScript discussions
September 2017
— Ain't onion and hexagonal kinda the same thing but from different point of views?
In my opinion it is complex arch . I prefer active record like eloquent (in laravel) and when the application become complex . I use services or repositories
— Forther more , yes active record can not be unit tested . but if the developer welly iterested in test . can use integration tests with db queries and transactions.
— Integration tests suck
— Well, it's more of a short-term thing, but it makes sense in its context
— Why ?
— But sometimes they're even more important than unit tests
— Slow as fuck
— Well, all depends on code, I'll agree to sometimes
— Not if you have good machine (with ssd) . and if your application is simple you can use sqlite db in memory
— Imho, it depends on the kind of app that your developing. For example, recently my team got assigned a 2 million € project for BIC. That project requires highly detailed architecture design before starting to code as well as tons of integrations, with their integration tests
— It depends on the scale