Laravel Design Pattern
Design pattern are the solutions for the common problems and developers find easy to understand the code if they know the pattern.
Design pattern are blue prints for your application.
Application developed with design pattern are maintainable.
Dealing with creating the object
Do you buy a new oven every time you make the Pizza?
Why singleton pattern?
- Shared data
- Save system resources