My common php patterns