$30 off During Our Annual Pro Sale. View Details »

Supercharging common controllers (Laracon Madrid)

Supercharging common controllers (Laracon Madrid)

Freek Van der Herten

May 23, 2019
Tweet

More Decks by Freek Van der Herten

Other Decks in Programming

Transcript

  1. Supercharging
    common controllers

    View Slide

  2. Stripping controllers
    to the bare minimum

    View Slide

  3. About me
    Freek Van der Herten
    Partner & developer at Spatie
    @freekmurze
    murze.be
    ohdear.app
    fullstackeurope.com

    View Slide

  4. Open source stats
    ± 200 packages on Packagist
    ± 2,500,000 downloads a month
    ± 35,000,000 total downloads
    spatie.be/open-source/packages

    View Slide

  5. Let's code!

    View Slide

  6. In closing

    View Slide

  7. Laravel view models
    github.com/spatie/laravel-view-models
    coded by @brendt_gd
    stitcher.io/blog/laravel-view-models
    stitcher.io/blog/laravel-view-models-vs-view-composers

    View Slide

  8. Laravel Blade X
    github.com/spatie/laravel-blade-x
    coded by @brendt_gd, @alexvanderbist, @rubenvanassche,
    @sebdedeyne, @freekmurze
    murze.be/use-custom-html-components-in-your-blade-views
    murze.be/introducing-bladex-view-models

    View Slide

  9. Laravel query builder
    github.com/spatie/laravel-query-builder
    extracted from client projects and maintained by @alexvanderbist
    alexvanderbist.com/posts/2018/builder-apis-with-laravel-query-builder

    View Slide

  10. Resources
    murze.be/simplifying-controllers
    stitcher.io/blog/organise-by-domain
    github.com/adamwathan/laracon2017

    View Slide

  11. Future
    github.com/inertiajs
    github.com/calebporzio/livewire-docs

    View Slide

  12. Thank you!
    speakerdeck.com/freekmurze/controllers-laracon-madrid
    spatie.be/open-source
    murze.be
    ohdear.app
    fullstackeurope.com

    View Slide