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

The Laravel Core - Demystify The Beast (Laracon EU Madrid)

The Laravel Core - Demystify The Beast (Laracon EU Madrid)

Laravel is a fascinating and complex piece of software. It helps us to work fast, solid and secure on our modern PHP applications. But how often do you find yourself taking a look under the hood of Laravel?

Knowing your framework is not something you need to learn right away. Maybe you’re even fine without knowing it at all. But the day you start asking questions about how it works, is the day you start improving. Knowing your framework will make you a better developer.

In this talk, I want to take you on a little journey through the core of the Laravel framework. It is like the best-of compilation of my free video-series Laravel Core Adventures, where I dig with you through the main concepts and implementations of the Laravel framework.

This talk is for everyone who works with Laravel and is interested in learning more about this powerful PHP framework. You will come away with a better understanding of Laravel's core.

14d39e65f615fd6dcb9dd44ea7f7995b?s=128

Christoph Rumpel

May 24, 2019
Tweet

Transcript

  1. The Laravel Core Demystify The Beast

  2. @christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

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

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

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

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

  7. @christophrumpel Entry point for request Boot Laravel Handle request Create

    response REQUEST LIFE-CYCLE
  8. @christophrumpel LET IT BEGIN public/index.php

  9. @christophrumpel

  10. @christophrumpel

  11. @christophrumpel

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

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

  14. @christophrumpel

  15. @christophrumpel

  16. @christophrumpel

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

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

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

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

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

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

  23. @christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

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

  25. @christophrumpel Misleading Hard to test Tightly coupled OR

  26. @christophrumpel OUR EXAMPLE

  27. @christophrumpel REQUEST FACADE

  28. @christophrumpel BASE FACADE

  29. @christophrumpel BASE FACADE

  30. @christophrumpel BASE FACADE

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

  32. @christophrumpel Misleading Hard to test Tightly coupled TRUE OR FALSE

  33. @christophrumpel OUR JOURNEY LifeCycle Facades Eloquent

  34. @christophrumpel ORM Active Record Models Builder ELOQUENT

  35. @christophrumpel DATABASE

  36. @christophrumpel OUR EXAMPLE

  37. @christophrumpel GET A CONFERENCE

  38. @christophrumpel CONFERENCE MODEL

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

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

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

  42. @christophrumpel FOUND IT Eloquent/Builder.php

  43. @christophrumpel GET A CONFERENCE

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

  45. @christophrumpel GET SPEAKERS FROM CONFERENCE

  46. @christophrumpel NO SPEAKERS PROPERTY

  47. @christophrumpel NO SPEAKERS PROPERTY Base Eloquent Model

  48. @christophrumpel CHECK ATTRIBUTES Base Eloquent Model HasAttribute concern

  49. @christophrumpel

  50. @christophrumpel

  51. @christophrumpel OUR EXAMPLE

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

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

    https://laravelcoreadventures.com @christophrumpel