Skip to content

Commit

Permalink
chore: replace workflow by flow and add more context
Browse files Browse the repository at this point in the history
  • Loading branch information
94noni authored Feb 26, 2024
1 parent a7d98b0 commit 42c8fd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/http_kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Installation
.. include:: /components/require_autoload.rst.inc

The Workflow of a Request
-------------------------
The Full Flow of a Request-Response lifecycle
---------------------------------------------

.. seealso::

Expand All @@ -29,7 +29,7 @@ The Workflow of a Request
Every HTTP web interaction begins with a request and ends with a response.
Your job as a developer is to create PHP code that reads the request information
(e.g. the URL) and creates and returns a response (e.g. an HTML page or JSON string).
This is a simplified overview of the request workflow in Symfony applications:
This is a simplified overview of the request to response flow in Symfony applications:

#. The **user** asks for a **resource** in a **browser**;
#. The **browser** sends a **request** to the **server**;
Expand Down Expand Up @@ -66,7 +66,7 @@ that system::

Internally, :method:`HttpKernel::handle() <Symfony\\Component\\HttpKernel\\HttpKernel::handle>` -
the concrete implementation of :method:`HttpKernelInterface::handle() <Symfony\\Component\\HttpKernel\\HttpKernelInterface::handle>` -
defines a workflow that starts with a :class:`Symfony\\Component\\HttpFoundation\\Request`
defines a process flow that starts with a :class:`Symfony\\Component\\HttpFoundation\\Request`
and ends with a :class:`Symfony\\Component\\HttpFoundation\\Response`.

.. raw:: html
Expand All @@ -75,7 +75,7 @@ and ends with a :class:`Symfony\\Component\\HttpFoundation\\Response`.
alt="A flow diagram showing all HTTP Kernel events in the Request-Response lifecycle. Each event is numbered 1 to 8 and described in detail in the following subsections."
></object>

The exact details of this workflow are the key to understanding how the kernel
The exact details of this flow are the key to understanding how the kernel
(and the Symfony Framework or any other library that uses the kernel) works.

HttpKernel: Driven by Events
Expand Down

0 comments on commit 42c8fd9

Please sign in to comment.