want more examples/documentation about wave #1383
Replies: 3 comments 9 replies
-
Thanks for your feedback @zillionare, and thanks for trying out Wave! Wave is a relatively newer project compared to Dash, and we're improving the docs as we go. Hopefully as it gets more adoption, there'll be more content, blogs and discussions around it in the future.
The framework doesn't place any constraints on how to organize code. For small apps, one file is enough. For larger apps, you are free to organize code, files, folders that best suit the app. There are a few small apps here as well: https://github.com/h2oai/wave-apps, which you might find useful. We plan to make more of our internal app repos public this year.
Pages in Wave are managed differently compared to typical web frameworks. Technically the Wave front-end is a single-page web application. An app has exactly one page. You can "switch" to a different page (i.e. present a different UI) by replacing all or some cards on the page with other cards. This is typically done by defining one or more layouts (which provide slots for cards), and then adding/updating/removing cards to/from those slots. For example,
This is related to the previous question - an app does not have direct control over the HTTP headers/status. The Wave server handles that for you. If there's something specific you want to control about the HTTP headers (security? proxying?), let us know. In typical usage, we've found that most app authors consider dealing with HTTP headers/status code an unnecessary, avoidable detail. |
Beta Was this translation helpful? Give feedback.
-
In my scenario, there are specific headers injected by the reverse proxy that provide identity and roles.
A related question: will the system populate |
Beta Was this translation helpful? Give feedback.
-
Thanks very much |
Beta Was this translation helpful? Give feedback.
-
I have tried plotly dash and then find h2o wave. h2o wave is great in these aspects:
however, Plotly dash is great with its forum and active community and it's documentation. I can got answers for almost every question easily. However, I found much less resource (stackoverflow, forum posts, etc) about wave.
Currently it's great if you can provide document/example on:
by the way, this gist is great:
https://gist.github.com/mtanco/767538459821fcc51cc3d533fb584249
Beta Was this translation helpful? Give feedback.
All reactions