mvc architecture
TRANSCRIPT
Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring PartnerBaabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
Model View ControlArchitecture
[email protected]/thansiq.villa
twitter.com/thansiq_villain.linkedin.com/in/profilename+919037043593
What is MVC?
• Architectural design pattern which works to separate data and UI for a more cohesive and modularized system
MVC
• The model is responsible to manage the data
• The view (presentation) is responsible to display the data provided by the model in a specific format
• The controller handles the model and view layers to work together
How did it come about?
• The model view controller pattern is the most used pattern for today’s world web applications• It has been used for the first time in Smalltalk and then adopted and popularized by Java
How does it work?
• User inputs a command• Controller handles input and updates model or changes the view
• View show data to user, updates if necessary.
MVC
3-tier Architecture vs. MVC Architecture
1.Communication• 3-tier: The presentation layer never communicates directly
with the data layer-only through the logic layer (linear topology)
• MVC: All layers communicate directly (triangle topology)
2.Usage• 3-tier: Mainly used in web applications where the client,
middleware and data tiers ran on physically separate platforms
• MVC: Historically used on applications that run on a single graphical workstation (applied to separate platforms as Model 2)
Conclusion
• MVC is a sound architectural design for almost any GUI application
If this presentation helped you, please visit our page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us
Emarald Mall (Big Bazar Building)Mavoor Road, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550
NC Complex, Near Bus StandMukkam, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550
Start up VillageEranakulam,Kerala, India.
Email: [email protected]