Hacker News new | ask | show | jobs
by blablabla123 4890 days ago
Looking at MVC, a common recommendation is to put the business logic into the model. "Fat models, skinny controllers"

IMHO the JS frontend should contain almost no business logic. Rather it should be handled either by "the" backend or if it is really that complex, by a separate web service. (Self-speaking that this service can be written in any language that makes sense.)

(On the other hand, the success of node.js proves that medium sized applications can be written in pure JS.)