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

[Question] Will Mercure be a hard requirement or an optional (but recommended) feature #524

Closed
youwe-petervanderwal opened this issue Oct 31, 2024 · 3 comments

Comments

@youwe-petervanderwal
Copy link

Hi Pimcore,

To prepare (and prioritize) our hosting department ahead of time

Based on

https://github.com/pimcore/studio-backend-bundle/blob/1.x/doc/00_Installation.md#mercure

The Studio Backend Bundle uses Mercure to push updates to the frontend. To enable Mercure, you need to set up a Mercure hub and configure the bundle to use it.

it's not really clear whether Mercure will be a hard requirement to run the new Studio UI or that it is an optional (but recommended) feature.

Can you give some clarity about that?

@alexz707
Copy link
Contributor

Hello Peter,

sorry for the late reply!
Concerning your question - yes Mercure is indeed a hard requirement for running the new Studio UI.
Mercure is essential because it enables real-time updates by pushing changes directly to the frontend.

Additionally, we want to handle long-running processes asynchronously. Mercure allows us to push updates about these processes as they complete, rather than requiring the frontend to continually poll the backend.

This setup ensures a better performance and a more responsive user experience.

Best regards,
Alex

@youwe-petervanderwal
Copy link
Author

Hi @alexz707

Thanks for the explanation, much appreciated!
I'll close this issue as it was mainly a question.

Ps. suggestion to add a "Requirements" section to the README.md

@alexz707
Copy link
Contributor

HI @youwe-petervanderwal
thanks for the suggestion we will add it and link it somewho also to the studio UI bundle so it's clear for everyone.

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