Skip to content
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

Remove Bootstrap class. Use default AbstractModule for application bootstrapping. #26

Open
mrEuler opened this issue Dec 1, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@mrEuler
Copy link
Contributor

mrEuler commented Dec 1, 2020

What is Bootstrap class? Bootstrap class (BC) is used to define application start point. Exactly here all the application logic will be described. From BC come all features.
What is the main difference between AbstractModule and BC? AbstractModule has wider lifecycle than BC. But BC gets ModulesProcessor instance as argument during initialisation. AbstractModule gets only part of it during afterInit.
Why do we need it? Just because we can 😂. But really, because of lifecycle and easier (more standard) management from ModulesProcessor side.
When do we need it? For sure before opensourcing this framework.
How could we support old applications? No way to support. We should go with new version.

@mrEuler mrEuler added the enhancement New feature or request label Dec 1, 2020
@mrEuler
Copy link
Contributor Author

mrEuler commented Dec 4, 2020

Taking this task on me. Have few ideas..

@mrEuler
Copy link
Contributor Author

mrEuler commented Dec 11, 2020

The WIP branch is modules/g.frame.core/bootstrap-imporvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants