Close

🔰 PHP Programming Tutorial 3 - What is MVC in Codeigniter 4 🔰


What is MVC?

MVC stands for Model-View-Controller. MVC is an application design model consisting of three interconnected parts. They include the model (data), the view (user interface), and the controller (processes that handle input).

MVC is a well-known model for designing web applications. Popular programming languages like, JavaScript, Python, Ruby, PHP, Java, C#, and Swift have MVC frameworks that are used for web or mobile application development.

How does MVC work?

The Model (/app/Models) is responsible for managing the data of the application. It receives user input from the Controller.

The View (/app/Views) is responsible for the presentation of Model (data) in a certain format.

The Controller (/app/Controllers) receives the user input and validates it, and then passes the input to the Model. It performs interaction on the model objects.

Advantages of MVC Framework

  • Parallel development
  • Code reusability
  • Multiple views for a model


😉Subscribe and like for more videos:
https://www.youtube.com/@chiragstutorial
💛Don't forget to, 💘Follow, 💝Like, 💖Share 💙&, Comment

0 Comments
Leave a message

 

Search Current Affairs by date
Other Category List

Cookies Consent

We use cookies to enhance your browsing experience and analyze our traffic. By clicking "Accept All", you consent to our use of cookies. Cookies Policy