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

Web Instance #10

Open
dan-fritchman opened this issue Oct 14, 2022 · 2 comments
Open

Web Instance #10

dan-fritchman opened this issue Oct 14, 2022 · 2 comments

Comments

@dan-fritchman
Copy link
Collaborator

dan-fritchman commented Oct 14, 2022

Thus far the schematic editor runs on two internally-defined Platforms:

  • The dedicated Electron app
  • The VsCode extension

Given everything in the project uses web-stack technologies, the natural third is the web. This will in principal be very easy to stand up. There are two interesting questions/ groups-thereof (to my eye):

    1. How to handle "platform interactions", e.g. opening from file.
    • The existing platforms have access to the editor's local filesystem; a web app will not.
    • Popular such apps would often get this content from GitHub, Google Drive, or its own database.
    • "Save" is probably a bit easier, and would presumably be more like "export and download". Nonetheless that also needs to be piped through the browser APIs.
    1. Where to host and run it.
    • That's in some sense tied to (1), particularly if there is a native datastore of schematics.
@dan-fritchman
Copy link
Collaborator Author

To fit the PlatformInterface - which is basically message-passing - this will also need some kinda bidirectional server-client communication channel. Socket.io seems a popular and relatively straightforward option.

@joamatab
Copy link

any updates on the web based platform?

we made this one
https://gdsfactory.github.io/gplugins/notebooks/20_schematic_driven_layout.html

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