design pattern is used to reuse the code , and softawre architecture is the Structure of Creating the whole project