What is MVC in CakePHP?

  • Sharad Jaiswal
  • 22nd Feb, 2018

1 answer(s) :

  •   Reply

    Priyag Chaudhary

    13th Feb, 2020

    CakePHP follows an MVC software design pattern. MVC separates the application into three main parts.

    • The Model layer: It represents the business logic part of your application. It is responsible for retrieving the data and using it to convert into a meaningful form for your application. It includes processing, validating, associating, or other process related to handling the data.
    • The View layer: It represents the presentation layer of your application where the data is modeled. It is responsible for producing the presentational interface using the available data for your application.
    • The Controller layer: It handles the request from the user. It is responsible for rendering the correct response using the help of both the model and the view layer.

Post your Answer :

Valid name is required.

Valid name is required.

Valid email id is required.