What is MVC architecture & Composer in laravel?

Posted by

The Laravel Framework follows MVC architecture. MVC is an architectural design pattern that helps to develop web applications faster. MVC stands for Model-View-Controller.

  • Model (M)–A model handles data used by the web application.
  • View (V)–A view helps to display data to the user.
  • Controller (C)–A controller interacts with the model to create data for the view.

Advantages of Using MVC framework:

  • Organizing large-scale web application projects.
  • Easier to perform Modification.
  • Modification in any part won’t affect any other part of the code.
  • Helps in a faster development process.
  • Helps for Asynchronous Method Invocation.

Composer

Laravel actually uses a dependency manager tool called Composer to install all required libraries to run Laravel.

A Composer is a tool that incorporates all the dependencies and libraries. It helps the client to create a project with respect to its specified system and project. Third-party libraries can be installed in a project effortlessly utilizing composer.

guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x