Skip to content

Redraw some illustrations as SVG images #10860

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

Merged
merged 1 commit into from
Jan 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed _images/components/messenger/overview.png
Binary file not shown.
1 change: 1 addition & 0 deletions _images/components/messenger/overview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
1 change: 1 addition & 0 deletions _images/components/serializer/serializer_workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _images/http/request-flow.png
Binary file not shown.
1 change: 1 addition & 0 deletions _images/http/request-flow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/sources/components/messenger/overview.dia
Binary file not shown.
Binary file not shown.
Binary file added _images/sources/http/request-flow.dia
Binary file not shown.
4 changes: 3 additions & 1 deletion components/messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ Alternatively, you can clone the `<https://github.com/symfony/messenger>`_ repos
Concepts
--------

.. image:: /_images/components/messenger/overview.png
.. raw:: html

<object data="../_images/components/messenger/overview.svg" type="image/svg+xml"></object>

**Sender**:
Responsible for serializing and sending messages to *something*. This
Expand Down
4 changes: 3 additions & 1 deletion components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ The Serializer Component

In order to do so, the Serializer component follows the following schema.

.. image:: /_images/components/serializer/serializer_workflow.png
.. raw:: html

<object data="../_images/components/serializer/serializer_workflow.svg" type="image/svg+xml"></object>

As you can see in the picture above, an array is used as an intermediary between
objects and serialized contents. This way, encoders will only deal with turning
Expand Down
6 changes: 3 additions & 3 deletions introduction/from_flat_php_to_symfony2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,9 @@ object are sent back to the client.

It's a beautiful thing.

.. figure:: /_images/http/request-flow.png
:align: center
:alt: Symfony request flow
.. raw:: html

<object data="../_images/http/request-flow.svg" type="image/svg+xml"></object>

Where Symfony Delivers
----------------------
Expand Down
10 changes: 5 additions & 5 deletions introduction/http_fundamentals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,12 @@ to do:

.. _request-flow-figure:

.. figure:: /_images/http/request-flow.png
:align: center
:alt: Symfony request flow
.. raw:: html

<object data="../_images/http/request-flow.svg" type="image/svg+xml"></object>

Incoming requests are interpreted by the :doc:`Routing component </routing>` and
passed to PHP functions that return ``Response`` objects.
Incoming requests are interpreted by the :doc:`Routing component </routing>` and
passed to PHP functions that return ``Response`` objects.

This may not make sense yet, but as you keep reading, you'll learn about :doc:`routes </routing>`
and :doc:`controllers </controller>`: the two fundamental parts to creating a page.
Expand Down