qiusuo-fuyuan / qiusuo-frontend

0 stars 0 forks source link

Frontend Architecture Design #38

Open ryan-zheng-teki opened 4 years ago

ryan-zheng-teki commented 4 years ago

Acceptance Criteria (1)Each Channel's outlook should be customized. For example, QA Channel is completely different from other channels. Chat Channel outlook is only about chatting. (2)Each channel behaves only like a container. We could configure the different components into the container to achieve a dynamic outlook. For example, if we configure that QA channel contains the Chat Component, then the QA channel will be able to chat. (3)The component itself is self contained. Which means that it knows how to interact with the Backend. The Backend in the future will expose API which is known for developers.

image

VSCode achieves the extensions by downloading the client code extension into the local extension directory. When vscode starts up, it loads all the local extensions to achieve user added functionality.

Since we are providing client side code. But maybe we could achieve the same result by asking user to upload his extension to our marketplace, and we download the files on to our server. This is actually achievable.

In the future, we have to provide a client side application using Eletron framework.