Answer the question
In order to leave comments, you need to log in
Where is the application business logic in SailsJS?
Yesterday I read several minimalist articles about Sails, but I still could not understand where, according to the idea of the authors, the business logic of the application should be located. Where?
Answer the question
In order to leave comments, you need to log in
This may sound crazy to you, but there are not many opinionated solutions in the node.js world, and you can choose for yourself.
Actually, there are only two places: controllers and models (except for the newfangled approach of microservices). You can somehow divide between them, in accordance with common sense and the principle of single responsibility.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question