design pattern framework 4 5 pdf