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

Creating a dashboard (phpworld)

Creating a dashboard (phpworld)

Freek Van der Herten

November 14, 2016
Tweet

More Decks by Freek Van der Herten

Other Decks in Technology

Transcript

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

    SPATIE @freekmurze https://murze.be
  2. Since 2003 Websites, applications and webshops Team 4 developers, 1

    manager Specialization Laravel development
  3. Open source software ± 80 packages on Packagist + 1

    200 000 downloads total, ±200 000 downloads a month A lot of benefits: learning, forced to write documentation and tests, showing the quality of our work, eating our own dogfood
  4. The dashboard is a single HTML page Displayed by a

    full screen browser Without full page reload Each tile wil be updated by JavaScript Each tile has it’s own update frequency In short
  5. Laravel 5.3 Render the initial page Fetch data from external

    API’s (scheduled) Broadcast events when new data has arrived Laravel
  6. Provides full-duplex communication channels over a single TCP connection Transporting

    events from server to the browser In realtime Secure Paid service Pusher
  7. Lot of ♥ from the Laravel community Easy to learn

    Each tile is a component Listen for incoming events Update the tile Vue 2 Vue.js
  8. Raspberry Pi 2 Powered by the USB port from the

    TV Uses Raspbian Jessie Boots into Chromium 51 in fullscreen mode Setup
  9. Credits Willem Van Bockstal @willemvbockstal Looks + grid system Sebastian

    De Deyne @sebdedeyne Scrutinising + JS wizardry