MVC and Laravel

By Al-Amin Islam

Separation of Concern

  • Clean and maintainable code
  • DRY(Don't repeat yourself)
  • Depend Fewer dependencies

Model

manages all behavior and data of the application domain

View

represents the display with the model in the UI

Controller

manage all business logic in application ,takes user input . manipulates the model and causes update the view.

Achievements

  • Separating the presentation from the model
  • Separating the controller from the view

Text

Text

We will need Composer first!

Linux

                           curl -sS https://getcomposer.org/installer | php:

Windows:

                     Download https://getcomposer.org/Composer-Setup.exe and install it

 

Let's Install Laravel

  • composer create-project laravel/laravel example-app

Al-Amin Islam

Learner

FullStack Web Developer

 

https://developeralamin.github.io/alamin.portfolio/alamin.html

https://github.com/developeralamin

Discuss About Laravel

By Alamin Islam

Discuss About Laravel

  • 64