Separation Of Concerns

Different parts of your code should handle different responsibilities without knowing about each other's internals. UI shouldn't contain business logic; business logic shouldn't know how data is stored.