As an alternate to the crazy function-calling I have going on right now:
Data-driven UI design. I want to be able to describe an entire UI without calling any
functions or requiring any libraries.
So, build a table of what you want, and then call pop.something(table) and it will build it.
Related:
An API that dovetails with the data-driven format, such that changing data fields
after the UI has been constructed triggers any appropriate behavior. In other words,
an API primarily based on function-bound properties.
So, when a UI is created that way, it should pay attention to what was passed to it and change appropriately.
Note: I may want to try this as a separate project or a fork of this project, as it is a completely different concept. I may want to have everything be using closures everywhere so it can relate back to the original data and automatically update or something, idk exactly how it would work.
As an alternate to the crazy function-calling I have going on right now:
So, build a table of what you want, and then call
pop.something(table)
and it will build it.Related:
So, when a UI is created that way, it should pay attention to what was passed to it and change appropriately.
Note: I may want to try this as a separate project or a fork of this project, as it is a completely different concept. I may want to have everything be using closures everywhere so it can relate back to the original data and automatically update or something, idk exactly how it would work.