diff --git a/docs/index.rst b/docs/index.rst index 0413384d..8ce60902 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -7,7 +7,8 @@ Dependency Injector --- Dependency injection framework for Python :keywords: Python,Dependency injection,DI,Inversion of Control,IoC, IoC Container,Factory, Singleton, Design Patterns :description: Dependency Injector is a dependency injection framework - for Python. It was designed to be unified, developer-friendly + for Python. It helps to maintain you application structure. + It was designed to be unified, developer-friendly tool that helps to implement dependency injection design pattern in formal, pretty, Pythonic way. Dependency Injector provides implementations of such popular design patterns diff --git a/docs/introduction/di_in_python.rst b/docs/introduction/di_in_python.rst index 3efa6600..ad1dc7a9 100644 --- a/docs/introduction/di_in_python.rst +++ b/docs/introduction/di_in_python.rst @@ -131,8 +131,10 @@ What's next? Choose one of the following as a next step: -+ Pass the dependency injection :ref:`flask-tutorial`. -+ Look at the other dependency injection :ref:`tutorials`. ++ Pass one of the dependency injection tutorials: + + :ref:`flask-tutorial` + + :ref:`aiohttp-tutorial` + + :ref:`asyncio-daemon-tutorial` + Know more about the :ref:`providers`. + Go to the :ref:`contents`. diff --git a/docs/tutorials/aiohttp.rst b/docs/tutorials/aiohttp.rst index 96d67070..3c90e6e8 100644 --- a/docs/tutorials/aiohttp.rst +++ b/docs/tutorials/aiohttp.rst @@ -1,7 +1,15 @@ +.. _aiohttp-tutorial: + Aiohttp tutorial ================ -.. _aiohttp-tutorial: +.. meta:: + :keywords: Python,Aiohttp,Tutorial,Education,Web,API,REST API,Example,DI,Dependency injection, + IoC,Inversion of control,Refactoring,Tests,Unit tests,Pytest,py.test,Bootstrap, + HTML,CSS + :description: This tutorial shows how to build an aiohttp application following the dependency + injection principle. You will create the REST API application, connect to the + Giphy API, cover it with the unit test and make some refactoring. This tutorial shows how to build an ``aiohttp`` REST API application following the dependency injection principle. diff --git a/docs/tutorials/asyncio.rst b/docs/tutorials/asyncio-daemon.rst similarity index 98% rename from docs/tutorials/asyncio.rst rename to docs/tutorials/asyncio-daemon.rst index 3d7e830d..77a4d5ea 100644 --- a/docs/tutorials/asyncio.rst +++ b/docs/tutorials/asyncio-daemon.rst @@ -1,7 +1,15 @@ +.. _asyncio-daemon-tutorial: + Asyncio daemon tutorial ======================= -.. _asyncio-daemon-tutorial: +.. meta:: + :keywords: Python,asyncio,Daemon,Monitoring,Tutorial,Education,Web,API,REST API,Example,DI, + Dependency injection,IoC,Inversion of control,Refactoring,Tests,Unit tests,Pytest, + py.test,docker,docker-compose,backend + :description: This tutorial shows how to build an asyncio application following the dependency + injection principle. You will create the monitoring daemon, use docker & + docker-compose, cover the daemon with the unit test and make some refactoring. This tutorial shows how to build an ``asyncio`` daemon following the dependency injection principle. diff --git a/docs/tutorials/flask.rst b/docs/tutorials/flask.rst index e72bfec2..af3a222e 100644 --- a/docs/tutorials/flask.rst +++ b/docs/tutorials/flask.rst @@ -3,7 +3,15 @@ Flask tutorial ============== -This tutorial shows how to build ``Flask`` application following the dependency injection +.. meta:: + :keywords: Python,Flask,Tutorial,Education,Web,Example,DI,Dependency injection,IoC, + Inversion of control,Refactoring,Tests,Unit tests,Pytest,py.test,Bootstrap, + HTML,CSS + :description: This tutorial shows how to build a Flask application following the dependency + injection principle. You will create the web application, connect to the Github + API, cover it with unit the test and make some refactoring. + +This tutorial shows how to build a ``Flask`` application following the dependency injection principle. Start from the scratch or jump to the section: @@ -1085,7 +1093,7 @@ Conclusion We are done. -In this tutorial we've built ``Flask`` application following the dependency injection principle. +In this tutorial we've built a ``Flask`` application following the dependency injection principle. We've used the ``Dependency Injector`` as a dependency injection framework. The main part of this application is the container. It keeps all the application components and diff --git a/docs/tutorials/index.rst b/docs/tutorials/index.rst index 51c6f09a..bfe6a2c2 100644 --- a/docs/tutorials/index.rst +++ b/docs/tutorials/index.rst @@ -11,6 +11,6 @@ frameworks. flask aiohttp - asyncio + asyncio-daemon .. disqus::