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

Absolute project structure #236

Merged
merged 51 commits into from
Jul 6, 2023
Merged

Absolute project structure #236

merged 51 commits into from
Jul 6, 2023

Conversation

tonykolomeytsev
Copy link
Owner

@tonykolomeytsev tonykolomeytsev commented Jul 2, 2023

Перехожу на структуру проекта, которая подходит дял использования с билд системой Bazel и мета-билд системой Forma.
Модуляризация на максималках. По мотивам доклада Степана Гончарова - "абсолютная модуляризация"

Шаги модуляризации:

  • Описать новые convention плагины
  • Избавиться от common-модулей и разделить их все на ext и library модули.
    • ext (extension) модули - расширения внешних библиотек. Эти модули не имеют ресурсов или зависимостей от других модулей.
    • library - библиотечные модули. Чаще всего в них отсутствуют ресурсы, но они могут зависеть от других модулей и даже иметь свои DI модули.
  • Смержить domain и feature модули в feature_*_api и feature_*_impl модули.
  • Убрать модули из директории resources/
  • Обновить ARCHITECTURE.md

@tonykolomeytsev tonykolomeytsev marked this pull request as draft July 2, 2023 18:58
- Create `:feature_app_settings_(api|impl)` modules
- Create `:feature_bars_(api|impl)` modules
@tonykolomeytsev tonykolomeytsev force-pushed the absolute-project-structure branch 2 times, most recently from 99f4421 to 16f85bf Compare July 3, 2023 12:25
- Create `:feature_dashboard_(api|impl)` modules
- Create `:feature_app_update_(api|impl)` modules
- Create `:feature_map_(api|impl)` modules
- Create `:feature_onboarding_(api|impl)` modules
- Create `:feature_search_(api|impl)` modules
- Create `:feature_notes_(api|impl)` modules
- Create `:feature_favorite_schedule_(api|impl)` modules
- Refactor library_app_database
@tonykolomeytsev tonykolomeytsev marked this pull request as ready for review July 6, 2023 10:11
@tonykolomeytsev tonykolomeytsev merged commit 3c59d29 into dev Jul 6, 2023
@tonykolomeytsev tonykolomeytsev deleted the absolute-project-structure branch July 6, 2023 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant