Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple example of multi-page app using Dash for Julia #182

Open
00krishna opened this issue Jan 28, 2023 · 2 comments
Open

Simple example of multi-page app using Dash for Julia #182

00krishna opened this issue Jan 28, 2023 · 2 comments

Comments

@00krishna
Copy link

Hello. I am trying to build a multi-page app with Julia Dash. It seems like the documentation is still in a state of development for that section of the Julia Dash docs, hence I have been trying to find some good examples of how to do this.

Now, I was looking at the repo by https://gitlab.com/etpinard/dash.jl-multi-page-app-example , which is a good start. However, that example is really developed in a specialized and very opinionated manner, so it is hard for a beginner to follow. Hence I was looking for an alternative example that might exist in a pull request or gist somewhere?

I think the key issue is that the python docs describe the sophisticated page_registry and the use_pages setting for the dash app, which those docs are missing for the Julia code. I checked the Dash.jl source code too, and did not find any description of that feature. Hence the code in the above mentioned repo has to do some complicated manipulations to manually implement the routes, etc.

Hence I would appreciate it if someone could guide me to a good multipage example, or perhaps an explanation of the page_registry for Julia.

@etpinard
Copy link
Collaborator

Hi @00krishna

Multi-page apps were added in the dash python version v2.5.0 and haven't made their way to Dash.jl.

If you have specific questions on https://gitlab.com/etpinard/dash.jl-multi-page-app-example, please don't hesitate to ask them here.

Thank you!

@00krishna
Copy link
Author

Sounds good @etpinard . Yeah, I went through the code you created in detail. It is still a little complicated for me to follow. You seem to have invested a lot of time to develop both the basic Dash layout code, as well as a lot of Julia tooling around that layout code :). Since I am new to Dash, it was tricky for me to understand at first. After a week of working with Dash I might understand it better :). Thanks again for producing that code. It was very helpful to see all of these details implemented in Julia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants