Message from JavaScript discussions

September 2017

— Ok, so what then? Does this architecture make sense within a JS project?

— 

I barely started with JS a year ago and I'm aware that it is not a OO languare. That's the main thing why this might not make sense

— It doesn't make sense at all to me

— JS or not

— It is a multi-paradigm language, but it has OO

— Well I wouldn't go that far tho... it is an architecture used by many big enterprises. Even Martin Fowler wrote about it at the time. It's just that it may not be fit for everything, you have a point there

Message permanent page

— Http://fideloper.com/hexagonal-architecture

— Great article. It's another way of looking at what we're talking about :)

— 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

Message permanent page

— 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.

Message permanent page

— Integration tests suck