Android software architecture

08_29_Android software architecture

The essence of architecture

  1. In essence, similar to the drawings, not a building;
  2. Clear range
    1. Software design, architecture is not equal to the frame;
    2. Encoding the bottom, to the design pattern, to the frame, then architecture (Micro service, the SOA)

Good architecture

Do hierarchical decomposition, the uncertainties become easier to identify;

Reusable: each module separately multiplexed

Parallel: multilateral cooperation, testing, development, publishing, can be performed separately at the same time

Measurable:

Customizable: eradicate team to select the specific circumstances of architecture;

Good architecture

The first step: find the problem;

Step two: how to solve;

1567045217670

  1. Layered, the application layer, a frame layer, the AIDL, service components, Binder, point to point communication event;

The third step: continuing evolution

1567045513570

  1. Butter plan: screen painting triple buffering

  2. Weight-loss plan: detached google application stores

  3. Security: Increased runtime permissions

  4. Performance: 17 years, most people use the old version of the old system;1567045731154

    Evolution must have a purpose.

Guess you like

Origin www.cnblogs.com/liguo-wang/p/11428300.html