Learn Laravel from Scratch

PHP

Scripting/Programming Language

History of PHP

  • created in 1995 and designed for web development
  • created by Rasmus Lerdorf (1994)
  • PHP3 (1997) released by Zeev Suraski and Andi Gutmans

PHP 7

Installing PHP on Windows

Installing PHP on Linux

MVC

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

Certified Laravel Developer

Chairman & CEO, Lets Learn Coding

sumon@letslearncoding.co

https://www.letslearncoding.co

https://youtube.com/LetsLearnCoding

Made with Slides.com