Message from JavaScript discussions

November 2018

— Hence, I’m requesting the full documents from the second web app with asynchronous requests.

— 

I’m doing this as a job at university. The long-term idea is to use Discourse features like authentication, user management, the forum etc. for any web application without the need to tightly integrate the one with other.

— Then use api, they return json data

— All templates for the render point could be put into same .html and with template parser and data you may generate any custom layout

Message permanent page

— I’m not dealing with any layouts here though

— The web application is stand-alone. I’m just embedding it into another web application.

— Discourse => someApp => myApp?

— Only Discourse and some app.

— The app is any web app or a static web site.

— In Discourse, I set up routes for this web app. When a path matching such a route is requested, the document of the web app is fetched and rendered inside the Discourse instance.

Message permanent page

— Visually speaking: Discourse’s top navigation bar remains and below it, the page from the web app is rendered.

Message permanent page

— SomeApp => Discourse, and you cant change someApp?