[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/wsr/ - Worksafe Requests


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1688949881887751.jpg (2.61 MB, 1895x2816)
2.61 MB
2.61 MB JPG
I'm looking to get deeper understanding of dependency injection, logic separation, OOP implementation in the backend.

All I can find so far are the beginner tier sources.
What I want is to have the logic in my backend separated. I want to have separate interfaces for controllers and database calls, separate entities classes etc.
Would be very grateful if someone can point me to a good book, some articles or a youtube channel for mid and advanced node development.
>>
of course advanced resources are not focused on tutorializing you on how to use a particular language, they're just design principles

none of that shit is language specific, read one of the books on design patterns that all the java oop cultists love
>>
File: 1694149586010298.jpg (38 KB, 1080x551)
38 KB
38 KB JPG
>>1456531
thanks mate I realize this and I understand patterns are valid everywhere but I really kind of need to know the proper way to, for example
>when and how to properly create a custom express class
>how to properly implement factory for controllers
>what's the proper way to handle entities, services, controllers, express routers with custom classes
>when and how to extend the builtin in Error class for custom error handling
etc.
I understand what design patterns are, I know how to implement some of them.
What I wanna know is how to do it in the context of Nodejs.
Yeah fine I know what dependency injection is, i know what dependencies are, I know how it's done. How do I do it properly in node is what I don't know.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.