re: Designing a better architecture for a Node.js API VIEW POST

FULL DISCUSSION
 

Nice Article! Anw can you give reason which approach is better when using Class? Is it the export new Class or just make every function static? This is for the case Service and Controllers

 

Thank you Johannes, actually using static functions would be even better in these cases. I am thinking about changing the post with that.

Thank you for coming up with that! :)

code of conduct - report abuse