Перейти к содержимому

Tips for Writing and Maintaining Dash.jl Applications | Etienne Tétreault-Pinard | JuliaCon 2023

The Julia Programming Language

0:00 / 0:00

Tips for Writing and Maintaining Dash.jl Applications | Etienne Tétreault-Pinard | JuliaCon 2023

551 просмотр · 3 года назад
The Julia Programming Language
90,9 тыс. подписчиков
551 просмотр · 3 года назад
Dash.jl is the Julia version of Plotly's Dash, a framework for building data science web applications. Relying on the same frontend components (written in JavaScript) as the popular Python version of Dash, Dash.jl is a robust library and a trustworthy choice for Julia users. This talk presents industry-tested tips on how to write maintainable Dash.jl applications, Julian code patterns for Dash.jl as well as tricks to work around some of Dash.jl's limitations. Dash.jl is an open-source Julia package. Built on top of Plotly.js, React and HTTP.jl, Dash.jl ties modern UI elements like dropdowns, sliders, and graphs directly to your analytical Julia code. Relying on the same frontend components (written in JavaScript) as the popular Python version of Dash, Dash.jl is a robust library and a trustworthy choice for Julia users. The talk begins by going over some of Dash.jl’s fundamentals with the help of an example interactive Gantt chart application. We follow by covering tricks that can help user work around some of Dash.jl’s limitations like caching the results of slow-executing callbacks, enabling keyboard triggers for callbacks and adding custom mode-bar interactions to the stock graph component. More evolved subjects are discussed next such as writing scalable and testable multi-page applications. Implementing sticky state that can be shared via URL query strings is also covered, all this while putting emphasis on Julian code patterns. The talk should allow Dash.jl newcomers to get an overview of the framework's capabilities. In turn, experienced Dash.jl users may learn a new trick or two. Slides: https://etpinard.gitlab.io/dash.jl-tr... Other useful links: https://github.com/plotly/dash.jl https://community.plotly.com/c/plotly... https://discourse.julialang.org/tag/dash https://gitlab.com/etpinard/dash.jl-t... Time Stamps: 00:00 Welcome! 00:10 Help us add time stamps or captions to this video! See the description for details. Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: https://github.com/JuliaCommunity/You... Interested in improving the auto generated captions? Get involved here: https://github.com/JuliaCommunity/You...