Skip to content
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

Add a GUI Framework like React or Vue #17

Open
atordvairn opened this issue May 8, 2022 · 8 comments
Open

Add a GUI Framework like React or Vue #17

atordvairn opened this issue May 8, 2022 · 8 comments

Comments

@atordvairn
Copy link

..use a js framework

this is too complex

@atordvairn
Copy link
Author

react or svelte or angular are great

@bmatusiak
Copy link
Member

this implementation is based on a plugin design called c9/architect.
it allows all 'features' to be loaded as a plugin. and customizable and separated.

the framework is currently jQuery. so some $(HTML) and .find() and append() it. just to get some logic to see what parts are needed to go into a better framework.

I created a state manager to give plugins a way to load based on path over an event emitter

once each API has been clearly defined and documented. it would be a framework in itself.

everybody uses, react or svelte or angular but it's not as fun as writing our own :)

in the past id did have this running dApps but the security was impacted by some logic holes that needed to be filled.
I have since resolved some of the holes. and have now been back actively working on the basics.

very soon. there will be a way to authorize dApps with https://gun.eco/docs/SEA.certify
simular to OpenAuth, and this is groundbreaking for local hosted apps that want to write access to parts of user profiles.

however, if you wanted to. you could import your "framework" of choice. after all this uses webpack.

@bmatusiak
Copy link
Member

if I was to move over to something, it would react,js or vue.js. I think vue.js would be better for this project.
BUT if you think I should choose react.js instead let me know some reasons.

in theory, we can use both.. so I may just provide examples of plugins for both, also I haven't written any docs yet really. but so far I think I've been logical on most of the code to understand what's happening

@bmatusiak bmatusiak changed the title why not just.. Add a GUI Framework like React or Vue May 19, 2022
@bmatusiak bmatusiak reopened this May 19, 2022
@atordvairn
Copy link
Author

if I was to move over to something, it would react,js or vue.js. I think vue.js would be better for this project.
BUT if you think I should choose react.js instead let me know some reasons.

i guess svelte might do the job

@bmatusiak
Copy link
Member

Svelte would not be an option at this time.

@atordvairn
Copy link
Author

Svelte would not be an option at this time.

hmm. would have chosen react since
i am new to vue, no experience 😬

@bmatusiak
Copy link
Member

bmatusiak commented May 20, 2022

I have no experience in both. So I would like to focus on a single idea using both.
For example about having the Messenger PAGE in react and the chat bubbles in vue.js
maybe this will lead to a better reusable and replaceable codebase.

@bmatusiak
Copy link
Member

ok so... i got react working with vue components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants