MVC and Laravel 101

by Sumon Selim

Separation of Concern

  • Clean and maintainable code

  • DRY

  • Fewer dependencies

manages the behavior and data of the application domain

Model

represents the display of the model in the UI

View

takes user input, manipulates the model and causes the view to update

Controller

  • Separating the presentation from the model

  • Separating the controller from the view

Achievements

We will need Composer first!

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

Linux:

Windows:

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

Let's Install Laravel

composer create-project laravel/laravel your_project_name --prefer-dist

Resources

Sumon Selim

Founder, Lets Learn Coding

Software Engineer, Kodeeo

me@sumonselim.com

http://www.sumonselim.com

http://www.github.com/SumonMSelim

MVC and Laravel 101

By Muhammad Sumon Molla Selim

MVC and Laravel 101

Introduction to MVC in PHP and getting started with Laravel

  • 1,242
Loading comments...

More from Muhammad Sumon Molla Selim