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
Will trame consider front-end and back-end separation in future development? #82
Comments
That is already the case. We are just missing the automation of the publication of the client side components. |
Action items
|
I have the same request. It's strange to write frontend code in python which cannot benefit the development experience from the frontend ecosystem. vtk.js seems to be a much better choice but lacks support for features like unstructured grid. |
It all depend on what you aim to do. If you want to create a browser only app, then trame is not a good choice. BTW, vtk3d does support unstructured grid and can be driven fully locally. |
Can trame be used to build platform service applications with separate front-end and back-end? I want to create a browser app with vue as the frontend. I firstly try the glance ,but vtk.js lacks support for features like unstructured grid. Are there any recommended libraries or methods that can be used to display unstructured grids on the browser in front-end and back-end separation projects? |
vtk3d let you use VTK/wasm on the client side. |
vtk3d, is it a function library? Is it the vtk3d ? Can you provide a reference link? |
Yes but technically that package. But you can also build your own WASM library using VTK as well. |
How can I use the package "@dicehub/vtk3d" to implement post-processing functions in the front-end? Is there any examples ? |
You should contact @dicehub for more information, otherwise the trame-vtk3d provides some examples that you can expand. At that point it is outside of trame and Kitware support. |
I'm closing this as I don't see the benefit of having an NPM package of the trame-client anymore. If needed, I recommend grabbing any useful vue.js code in your web project. |
The trame backend is now developed in python, while the front-end vue code is defined together in a python project.
For modern web development, flexibility and extensibility are necessary. In the case that vtk.js does not support all C++ functions and also does not support unstructured grid, separating trame front-end and back-end is the most convenient and perfect solution.
So I'm looking forward to the version that trame separates code of client and server.
The text was updated successfully, but these errors were encountered: