Skip to content

[ER] Architectural Refactoring Plan #11

@A-kua

Description

@A-kua

Engineering Modifications Proposal

Summary:
We need to implement several engineering modifications. The first priority is architecture decoupling, as the current architecture is insufficient to support our future development with multiple flavors.

Plan:
I propose splitting the codebase into three layers, from top to bottom:

  • Shell Layer: Integrates different business domains. Applies flavor-specific changes such as package names, permissions, etc.
  • Business Layer: Implements business features like mini-widgets, class schedules, online services, and top-up functionality.
  • Common Layer: Provides foundational capabilities, such as network requests, network auditing, and security safeguards.

Dependency:
Successfully adopting this layered approach relies heavily on a robust SPI framework.

Call for Contribution:
If anyone has time, please provide an existing solution or consider authoring one.

Reference:
A feasible reference: https://github.com/yanglw/android-spi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions