Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Laravel Core - Demystify The Beast (New York)

The Laravel Core - Demystify The Beast (New York)

14d39e65f615fd6dcb9dd44ea7f7995b?s=128

Christoph Rumpel

July 25, 2019
Tweet

Transcript

  1. Welcome

  2. CHRISTOPH RUMPEL Web Developer !

  3. @christophrumpel

  4. The Laravel Core Demystify The Beast

  5. @christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

  6. @christophrumpel WHY DO I CARE ABOUT THE CORE?

  7. @christophrumpel It is a tool It takes a lot of

    time It can be overwhelming COMMON EXCUSES
  8. @christophrumpel It speaks to you Debugging Learn from the best

    Become a better dev WHY YOU SHOULD CARE
  9. @christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

  10. Send It Back Handle Request Boot Laravel Browser / HTTP

    Request
  11. @christophrumpel LET IT BEGIN public/index.php

  12. @christophrumpel

  13. @christophrumpel

  14. @christophrumpel

  15. @christophrumpel Application instance Also serves as DIC Bind kernels to

    the container Register Base Providers Set base paths
  16. @christophrumpel

  17. @christophrumpel

  18. @christophrumpel

  19. @christophrumpel

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

  21. @christophrumpel

  22. @christophrumpel

  23. @christophrumpel

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

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

  26. @christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

  27. @christophrumpel Magic Proxies Helpers Static interfaces Service Container FACADES ARE

  28. @christophrumpel Misleading Hard to test Tightly coupled Bad practice OR

  29. @christophrumpel OUR EXAMPLE

  30. @christophrumpel REQUEST FACADE Illuminate/Support/Facades/Request.php

  31. @christophrumpel BASE FACADE Illuminate/Support/Facades/Facade.php

  32. @christophrumpel BASE FACADE Illuminate/Support/Facades/Facade.php

  33. @christophrumpel BASE FACADE Illuminate/Support/Facades/Facade.php

  34. @christophrumpel FOUND IT Illuminate/Http/Request.php

  35. @christophrumpel OUR EXAMPLE

  36. @christophrumpel SAME AS

  37. @christophrumpel Misleading Hard to test Tightly coupled Bad practice TRUE

    OR FALSE
  38. @christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

  39. @christophrumpel ORM Active Record Models Builder ELOQUENT

  40. @christophrumpel DATABASE

  41. @christophrumpel OUR EXAMPLE

  42. @christophrumpel OUR EXAMPLE

  43. @christophrumpel CONFERENCE MODEL

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

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

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

  47. @christophrumpel FOUND IT Eloquent/Builder.php

  48. @christophrumpel OUR EXAMPLE

  49. @christophrumpel GET FIRST CONFERENCE Eloquent/Builder trait BuildsQueries

  50. @christophrumpel GET FIRST CONFERENCE Eloquent/Builder trait BuildsQueries

  51. @christophrumpel GET FIRST CONFERENCE Eloquent/Builder trait BuildsQueries

  52. @christophrumpel OUR EXAMPLE

  53. @christophrumpel NO SPEAKERS PROPERTY

  54. @christophrumpel Content-Security-Policy: policy NO SPEAKERS PROPERTY Illuminate/Database/Eloquent/Model.php

  55. @christophrumpel CHECK ATTRIBUTES Base Eloquent Model HasAttribute concern

  56. @christophrumpel CHECK ATTRIBUTES Base Eloquent Model HasAttribute concern

  57. @christophrumpel

  58. @christophrumpel

  59. @christophrumpel OUR EXAMPLE

  60. @christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

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

  62. @christophrumpel NO SPEAKERS PROPERTY Base Eloquent Model Laravel Core Adventures

    https://laravelcoreadventures.com @christophrumpel
  63. @christophrumpel

  64. @christophrumpel RAIDERS OF THE LOST SERVICE CONTAINER

  65. @christophrumpel https://laravelcoreadventures.com https://christoph-rumpel.com https://speakerdeck.com/christophrumpel https://store.christoph-rumpel.com RESOURCES