Principle to follow Model,View and Controller



  • We can use multiple components in Model and View layer but it is recommended to use a single component as controller
  • Model and View components should not talk with each other directly,the communication should done through the controller only
  • Each component should contain it's specific logic
  • Any two page's should not talk with each other ,the communication can be done through the controller

No comments:

Post a Comment