Slide 1

Slide 1 text

Welcome

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

CHRISTOPH RUMPEL Web Developer !

Slide 4

Slide 4 text

@christophrumpel

Slide 5

Slide 5 text

@christophrumpel

Slide 6

Slide 6 text

The Laravel Core Demystify The Beast

Slide 7

Slide 7 text

@christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

Slide 8

Slide 8 text

@christophrumpel WHY DO I CARE ABOUT THE CORE?

Slide 9

Slide 9 text

@christophrumpel It is a tool It takes a lot of time It can be overwhelming COMMON EXCUSES

Slide 10

Slide 10 text

@christophrumpel It speaks to you Debugging Learn from the best Become a better dev WHY YOU SHOULD CARE

Slide 11

Slide 11 text

@christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

Slide 12

Slide 12 text

@christophrumpel Entry point for request Boot Laravel Handle request Create response REQUEST LIFE-CYCLE

Slide 13

Slide 13 text

@christophrumpel LET IT BEGIN public/index.php

Slide 14

Slide 14 text

@christophrumpel

Slide 15

Slide 15 text

@christophrumpel

Slide 16

Slide 16 text

@christophrumpel

Slide 17

Slide 17 text

@christophrumpel Application instance Also serves as DIC Bind kernels to the container Register Base Providers Set base paths

Slide 18

Slide 18 text

@christophrumpel

Slide 19

Slide 19 text

@christophrumpel

Slide 20

Slide 20 text

@christophrumpel

Slide 21

Slide 21 text

@christophrumpel

Slide 22

Slide 22 text

@christophrumpel REQUEST & ROUTER Illuminate/Foundation/Http/Kernel.php

Slide 23

Slide 23 text

@christophrumpel REQUEST & ROUTER Illuminate/Foundation/Http/Kernel.php

Slide 24

Slide 24 text

@christophrumpel REQUEST & ROUTER Illuminate/Foundation/Http/Kernel.php

Slide 25

Slide 25 text

@christophrumpel REQUEST & ROUTER Illuminate/Foundation/Http/Kernel.php

Slide 26

Slide 26 text

@christophrumpel REQUEST & ROUTER Illuminate/Routing/Router.php

Slide 27

Slide 27 text

@christophrumpel REQUEST & ROUTER Illuminate/Routing/Router.php

Slide 28

Slide 28 text

@christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

Slide 29

Slide 29 text

@christophrumpel Magic Proxies Helpers Static interfaces Service Container FACADES ARE

Slide 30

Slide 30 text

@christophrumpel Misleading Hard to test Tightly coupled OR

Slide 31

Slide 31 text

@christophrumpel OUR EXAMPLE

Slide 32

Slide 32 text

@christophrumpel REQUEST FACADE

Slide 33

Slide 33 text

@christophrumpel BASE FACADE

Slide 34

Slide 34 text

@christophrumpel BASE FACADE

Slide 35

Slide 35 text

@christophrumpel BASE FACADE

Slide 36

Slide 36 text

@christophrumpel FOUND IT Illuminate/Http/Request.php

Slide 37

Slide 37 text

@christophrumpel Misleading Hard to test Tightly coupled TRUE OR FALSE

Slide 38

Slide 38 text

@christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

Slide 39

Slide 39 text

@christophrumpel ORM Active Record Models Builder ELOQUENT

Slide 40

Slide 40 text

@christophrumpel DATABASE

Slide 41

Slide 41 text

@christophrumpel OUR EXAMPLE

Slide 42

Slide 42 text

@christophrumpel GET A CONFERENCE

Slide 43

Slide 43 text

@christophrumpel CONFERENCE MODEL

Slide 44

Slide 44 text

@christophrumpel STATIC WHERE METHOD DOES NOT EXIST Illuminate/Database/Eloquent/Model.php

Slide 45

Slide 45 text

@christophrumpel STILL NO WHERE METHOD Illuminate/Database/Eloquent/Model.php

Slide 46

Slide 46 text

@christophrumpel FOUND IT Eloquent/Builder.php

Slide 47

Slide 47 text

@christophrumpel GET FIRST CONFERENCE Eloquent/Builder trait BuildsQueries

Slide 48

Slide 48 text

@christophrumpel GET SPEAKERS FROM CONFERENCE

Slide 49

Slide 49 text

@christophrumpel NO SPEAKERS PROPERTY

Slide 50

Slide 50 text

@christophrumpel NO SPEAKERS PROPERTY Base Eloquent Model

Slide 51

Slide 51 text

@christophrumpel CHECK ATTRIBUTES Base Eloquent Model HasAttribute concern

Slide 52

Slide 52 text

@christophrumpel

Slide 53

Slide 53 text

@christophrumpel

Slide 54

Slide 54 text

@christophrumpel OUR EXAMPLE

Slide 55

Slide 55 text

@christophrumpel Master your tools. Laravel is one of them.

Slide 56

Slide 56 text

@christophrumpel NO SPEAKERS PROPERTY Base Eloquent Model Laravel Core Adventures https://laravelcoreadventures.com @christophrumpel