Yes we are planning to develop a discourse plugin and our JS app will interact only with HTTP requests.
We would like to avoid having to develop server-to-server communication (for ex with the use of admin API Key) to minimize coupling between components.
I understand that ideally we shouldn’t mess with discourse controllers and at the same time, there are a lot of methods that seems to be designed to be overridden (template method pattern and other extension points), and from what we’ve seen so far a lot of plugins are doing so.
So what would be the correct way to go ?