Skip to content

What is the best solution for UI handling in projects using SveltoECS? #114

Answered by sebas77
carloslab-ai asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

this is a great question. I had a solution in mind that I have never ended up developing. After we tried to implement an ECS UI framework we decided that was NOT the way to go. GUI is one of the few application that are really OOP/Event based in nature.

So for me the best solution is to code with UI with the standard tools/patterns and interface the UI presenter/controller/viewmodel with Svelto engines. I was starting to envision a solution, but unfortunately I don't remember anymore my train of thought. I think the idea was to be able to register "CommandEngines" that could have been retrieved inside presenter/view model and executed as normal commands from the GUI point of view. …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by carloslab-ai
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
FAQ Svelto FAQs
2 participants