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

Highlights Flare codebase (Laracon online)

Highlights Flare codebase (Laracon online)

Freek Van der Herten

February 26, 2020
Tweet

More Decks by Freek Van der Herten

Other Decks in Programming

Transcript

  1. About me Freek Van der Herten Partner & developer at

    Spatie @freekmurze freek.dev spatie.be mailcoach.app ohdear.app flareapp.io
  2. Open source stats ± 250 packages on Packagist ± 60,000,000

    total downloads ± 4 000,000 downloads a month spatie.be/open-source/packages
  3. About this talk Take a look at the Flare codebase

    Not a sales talk Techniques you can use in your own projects Opinionated
  4. Naming things Use suffixes Immediately recognisable Makes it easier to

    find stuff in your project Less aliasing needed
  5. Refactor to domains app/ ├── Models/ │ ├── User.php │

    ├── Team.php │ └── Project.php ├── Mails/ │ ├── Welcome.php │ ├── InvitedToTeam.php │ └── ApiKeyRegenerated.php └── Events/ ├── UserDeleted.php └── Project.php
  6. Front end “I strongly believe JavaScript is a requirement for

    excellent user experiences. Not good experiences, excellent experiences.” —Seb
  7. Front end: JavaScript Inertia Built by Jonathan Reinink Replace Blade

    by React (or Vue or whatever) Makes server client communication seamless No full pages refreshes
  8. Shameless plugs https://mailcoach.app Self-hosted newsletter engine + video course MAILCOACH-LOVES-LARACON-ONLINE:

    $20 discount https://ohdear.app Uptime tracker, status pages, broken links checks on all pages OHDEAR-LOVES-LARACON-ONLINE: first month for free https://flareapp.io Exception tracker for Laravel apps FLARE-LOVES-LARACON-ONLINE: $29 discount on your first bill