Introduction To MVC Architecture - As Web Developer Point Of View


MVC stands for Modal View Controller and it is definitely one of the most frequently used design patterns in software development and the general purpose or goal is to separate functionality not just functionality but logic and the interface all kinds of things in an application so this promotes organized programming and it allows multiple developers to work on the same project. MVC works a little different for a different type of programming(e.g. Mobile app developmentWeb app development, etc) and some programs even say that you can’t have a true MVC in web development.

Here are Detail Of Introduction To MVC Architecture 


Model

  • Interact with database (Handle CURD operation)
  • Communicate with controller 
  • Update the view (Sometimes depends on the framework)

View

  • This is what user will see at the end(Visualise the data into nice user interface)
  • Usually consists of HTML, CSS(for Web and Mobile app development) and XML or XIB(for Mobile app development)
  • Communicate with controller 
  • Handled by controller or modal(sometimes)
  • Template engines 


Controller

  • Interact with user's action or input 
  • Perform operation on Modal
  • Receive the data from Modal
  • Pass the data to view 

So here’s a very simple example or diagram. 



Conclusion

The model being the data and the controller being kind of the traffic controller and the view being what the user sees and also interacts with. We AppTrait Solutions Best Web App Development Service. We have Creative Developer helps businesses by creating dynamic web appsHopefully you guys like this.