-
Notifications
You must be signed in to change notification settings - Fork 8
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
Design how to structure client-side code #121
Comments
Consider an example application with the following components:
The components are laid out on a single space, and fully loaded when viewed at close distance. The |
Structural requirements:
|
Just thoughts... Consider directory structure:
Where capitalized are component classes with methods:
Case:
|
Dynamic look-ahead navigation makes things a bit tricky. The navigation structure, forms and so on are handled like content, loaded piece by piece in recursive, depth-limited manner... This seems to generalize to a graph browser where nodes are web applications. But what if two nodes are related, like, a button in one causes a change in another? |
Consider Redux applications. In Redux, there is a single store that is changed via state-changing function called reducer. State changes are then listened. How should this kind of app be structured? Having the three state-models seems overkill: DOM, Space, Redux store. Would it be more flexible and beneficial that Tapspace does not form a state model but instead acts like a functional glue between DOM and the app state (e.g. Redux store). For example jQuery works like such a glue. We should drive Tapspace closer to libs like jQuery. |
Aspects:
The text was updated successfully, but these errors were encountered: