I am new to node.js coming from a c#.net background. When coding in .net, I was use to using several of the design patterns to organize my code, service layer, repository, etc. When I needed to add logic that spanned multiple models, I could use services for this as well. Moving to node.js and reviewing examples and sample code, etc. I do not see alot of utilization of service layer, repositories, etc. What are some of the recommended practices for the following:
1) Code organization and structure, especially for apps rich in business logic?
2) How to handle logic that spans multiple models?
3) What are some good tutorials and sample code sites that demonstrate some good project and code structure with items (1 and (2 in mind?
.net comes with alot of recommended approaches, practices, patterns and coding structure techniques that are actually very good recommendations, which . Sites like www.asp.net, etc. provide pretty good articles, etc. for these recommendations.
Aucun commentaire:
Enregistrer un commentaire