• how many types of mvc in php?


    How many types of MVC In php Technology?

    Silver Member Asked on August 22, 2018 in Php.
    Add Comment
  • 1 Answer(s)
    Best answer

    There are two type of MVC Framework In php

    1. Convention Based MVC
    2. Configuration Based MVC

    Convention Based MVC

    As the name suggest, in this type of MVC we need to follow some predefined conventions in order to have it in working mode. This conventions are different from frameworks to frameworks. There are numbers of frameworks out there which follows convention based approach. Some of those frameworks are as below:

    • CakePHP
    • Codeigniter
    • YUI
    • Kohana

    Configuration Based MVC

    Unlike Conventional based MVC, in Configuration based MVC we have full control over file name and class name we use. We can explicitly define which files to load for particular model and which class to find from that file.


    Magento is the best example of Configuration based MVC architecture.

    Silver Member Answered on August 22, 2018.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.