Make your Dash App Faster with Clientside Callbacks
Charming Data
We'll learn to use the Dash Clientside callback to speed things up and expand access to app interactivity.
GitHub Repository: https://github.com/Coding-with-Adam/Dash-by-Plotly/tree/master/Callbacks/Client-side-callback
Supporting Documents: https://drive.google.com/file/d/1zAGwnRZsGi4OnTQuIgJMLyIF-quVBSeq/view?usp=sharing
Dash documentation: https://dash.plotly.com/clientside-callbacks
Learn more about serverside vs clienside: https://www.slideshare.net/BaabtraMentoringPartner/client-side-scripting-and-server-side-scripting-37858684/8 https://techdifferences.com/difference-between-server-side-scripting-and-client-side-scripting.html
Video layout: 00:00 - What you will learn 02:20 - GitHub code for you 02:43 - 1. when data needs to be transferred very fast (high-frequency intervals) 07:54 - How does clientside callback work 10:46 - How to write a clientside callback 11:59 - 2. when connecting to web/window api 15:40 - 3. when app requires many roundtrips of data between server & Dash 19:14 - breakdown of final clientside callback code
š If you appreciate these tutorials and would like to support their existence and get some perks: Patreon: https://www.patreon.com/charmingdata GitHub: https://github.com/sponsors/Coding-with-Adam YouTube: https://www.youtube.com/channel/UCqBFsuAz41sqWcFjZkqmJqQ/join
99788597 Bytes