08_29_Android software architecture
The essence of architecture
- In essence, similar to the drawings, not a building;
- Clear range
- Software design, architecture is not equal to the frame;
- 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;
- Layered, the application layer, a frame layer, the AIDL, service components, Binder, point to point communication event;
The third step: continuing evolution
Butter plan: screen painting triple buffering
Weight-loss plan: detached google application stores
Security: Increased runtime permissions
Performance: 17 years, most people use the old version of the old system;
Evolution must have a purpose.