Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Published on
If you are designing an application in PHP with using any Framework, you face many challenges like problems in re-using te code, coding from scratch, difficulty in testing, disorganization of codes etc. The solution is to use design patterns and one such design pattern is MVC ( Model View Controller ).
MVC, or Model-View-Controller is a software architecture, or design pattern, that is used in software engineering, whose fundamental principle is based on the idea that the logic of an application should be separated from its presentation. MVC design pattern is used to separate an application’s data, business logic, and presentation; doing so facilitates the creation of more maintainable, reusable, and testable code.
(a) Model - Data Layer
(b) View - User Interface Layer
(c) Controller - Interacts with the Model
To know in detail about MVC Principles for PHP Developers, see the above presentation.
Login to see the comments