1 controller = 1 model VS. 1 controller = multiple model |
Yes keeping 1controller - 1 model will be ideally helpful.
Though there are few exceptions sometimes that is why we create models against specific set of feature. For e.g Login_model will have everything related to:
Also thinking from controller perspective for e.g. Checkout controller on any ecommerce site can deal with multiple models such as:
|
Welcome Guest, Not a member yet? Register Sign In |