Skip to content

chore: add the request/response/exception flow diagram to showcase events #19603

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

Closed
wants to merge 1 commit into from

Conversation

94noni
Copy link
Contributor

@94noni 94noni commented Feb 26, 2024

The diagram can be found deep in https://symfony.com/doc/current/components/http_kernel.html#handling-exceptions-the-kernel-exception-event

to me, it is very interesting to represent in the head/mind the flow, just before reading all the internals symfony events

wdyt?

javiereguiluz added a commit that referenced this pull request Feb 26, 2024
… (94noni)

This PR was merged into the 5.4 branch.

Discussion
----------

chore: replace `workflow` by `flow` and add more context

idea:
add more context that its a request/response logic (actually we read more request than response)
swap the word workflow to flow (ref #19603 and the kernel flow)

Commits
-------

42c8fd9 chore: replace `workflow` by `flow` and add more context
@javiereguiluz
Copy link
Member

I like this idea ... but the problem is that the image shown here (https://symfony.com/doc/current/_images/components/http_kernel/http-workflow-exception.svg) doesn't display any events and it has some numbered callouts (1, 2, 3, ...) that don't make sense in this page (in the other page where this image is included, we explain each of these numbered items).

@94noni
Copy link
Contributor Author

94noni commented Feb 26, 2024

that was my initial thought as well
in fact, kernel.{event} in this page doc with in the diagram we can see each block named {event}
where {event} here are request, terminate, controller, etc etc
can make sens, thus opening this PR
lets wait other reviews thx for comment !

@94noni
Copy link
Contributor Author

94noni commented May 17, 2024

stale, lets close

@94noni 94noni closed this May 17, 2024
@94noni 94noni deleted the patch-17 branch May 17, 2024 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants