DEV Community

Discussion on: Where to put the business logic ?

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao • Edited

If you follow the MVC model and it is a small app. You could go for fat models and thin views approach by putting your business logic into the model.

Collapse
 
ramigaml84 profile image
Rami Gamal

That's not my intent, my intent to put every thing in the right place.
It's not a real application it's just for learning.
Thank you :)

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao

There's not right or not it just depends on what is the use case you are solving.