Reputation: 631
why is it recommended using design pattern in a web or app project ? i only use only MVC.
it depends of type project for using a design pattern? or it depends of Project team?
Sorry for the novice question
Upvotes: 0
Views: 64
Reputation: 830
First of all MVC is also a design pattern. A design pattern is nothing but standard ways of solving common problem. The rationale behind using it is :
There are lot of design pattern. Some applies to low level designing(Singleton pattern, Decorator etc. the list is huge) when you implement or to a class diagram or use case analysis. Some applies to Design high level architecture of system. By applying the patterns in this case you will achieve scalability , security and other non-functional requirements of your website/app. For example it has become a heavily used approach to horizontally scale the system of cheaper machine and put load balancer.
These two pattern LLD and HLD pattern for project type and requirements.
The other kind of pattern is going for a scrum model which usually depends on the team strategies.
Upvotes: 1