Skip to content

Document new bootstrap process - #2164

Merged
ChristophWurst merged 1 commit into
masterfrom
enhancement/app-dev-bootstrap
Jun 24, 2020
Merged

Document new bootstrap process#2164
ChristophWurst merged 1 commit into
masterfrom
enhancement/app-dev-bootstrap

Conversation

@ChristophWurst

Copy link
Copy Markdown
Member

Comment threaddeveloper_manual/app/bootstrap.rst
Comment threaddeveloper_manual/app_development/bootstrap.rst Outdated
Comment threaddeveloper_manual/app_development/bootstrap.rst Outdated
@ChristophWurstChristophWurst mentioned this pull request Jun 23, 2020
2 tasks
@ChristophWurst
ChristophWurstforce-pushed the enhancement/app-dev-bootstrap branch from c44ed8c to 406d7a1CompareJune 23, 2020 13:23
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst
ChristophWurstforce-pushed the enhancement/app-dev-bootstrap branch from 406d7a1 to 33be7a9CompareJune 23, 2020 13:29

The overall process is as follows.

1) Each installed and enabled app that has an ``Application`` class class that implements ``IBootstrap``, the ``register``

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
1) Each installed and enabled app that has an ``Application`` class class that implements ``IBootstrap``, the ``register``
1) Each installed and enabled app that has an ``Application`` class that implements ``IBootstrap``, the ``register``

The overall process is as follows.

1) Each installed and enabled app that has an ``Application`` class class that implements ``IBootstrap``, the ``register``
method will be called. This method receives a context argument via which the app can prime the dependency injection

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... a context argument to prepare the dependency injection container and register other services lazily.

@rullzerrullzer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@ChristophWurst
ChristophWurst merged commit ea951bd into masterJun 24, 2020
@ChristophWurst
ChristophWurst deleted the enhancement/app-dev-bootstrap branch June 24, 2020 08:34
@marcelklehr

Copy link
Copy Markdown
Member

Will the old style still be supported?

@ChristophWurst

Copy link
Copy Markdown
MemberAuthor

Right now, yes. But I guess we will phase out the loading of app.php as it's obsolete now.

Sign up for freeto 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.

6 participants

@ChristophWurst@marcelklehr@rullzer@georgehrke@juliusknorr@kesselb