we use Phoenix Liveview for some backend tasks related to the ecommerce system Shopware (written in PHP and Twig templates).
Some Shopware stores use a plugin from Doofinder (which is a search engine in the cloud with Elasticsearch) for the search.
Now we have accidentally seen that they seem to use Phoenix Liveview for the search plugin or are we mistaken?
At least a websocket is opened when you type something into the search bar and the usual phx-join, phx-reply messages can be seen in the Inspector.
Now we wonder how they did it without an iframe?
Does anyone have an idea?
An example page is the one here (it’s in german, sorry):
Thank’s for your answer, yes, i’ve seen the dflayer.js and know about the websocket connection.
But there is a 2 div’s, one for the search input and another at the end of the body, which seem’s to be for the liveview.
I didn’t think you could just put a div in a completely different page that is triggered by Liveview with the usual diff’s.
Thought this always required an iframe or something like live_state, live_template…
It’s not quite clear to me yet.