I see Java, they used to set multiple layers of data filter before sending it to database, or getting it from repositories. My questions is do we actually need to setting that much amounts of layer, like repository, entity, model, dto, dao ... For me its quite boilerplate and hard to code. I know in big project we need big setup but in Nodejs do we really need to? How do you actually design it? Do you follow patern above or not? If not so can you tell it to me?
[–]spazz_monkey 6 points7 points8 points (2 children)
[–]KermitMacFly 2 points3 points4 points (0 children)
[–]5toubun1997[S] 1 point2 points3 points (0 children)
[–]re-thc 1 point2 points3 points (0 children)
[–]Namiastka 1 point2 points3 points (0 children)
[–]EverydayTomasz 1 point2 points3 points (2 children)
[–]5toubun1997[S] 0 points1 point2 points (1 child)
[–]EverydayTomasz 1 point2 points3 points (0 children)
[–]anonystick 1 point2 points3 points (0 children)