Architecture principles are codified. For day to day programming, you're looking for design patterns. The main reference is the Gang of Four's Design Patterns: Elements of Reusable Design (https://springframework.guru/gang-of-four-design-patterns/). If you're looking for more of a systems architecture, the architecture of open source is a good resource: http://aosabook.org/en/index.html