What I’m doing right now is to use some custom web widgets and try to import them in perspective with web dev and iframe.
I use an iframe to request data from web dev by passing data as param of HTTP post method.
Look how it works with char.js in the following example. I pass the start and end date and tagPath as param.
Sending data to widget and after that, I prepare data in python endpoint and inject data in HTML or js code string and return to client to show it.
The only problem is to pass user interaction data to perspective. For example when the user clicks or sets a new value on the slider. If I know how to send data to perspective by using a web socket I can have a fully external component without creating a module.
I hope you get my idea and understand that creating a custom module is not a simple task for most users. Especially right now that we don’t have any tutorial video and the SDK documentation for perspective.