Laravel makes use of quite a few well-established design patterns that promote reusable object-oriented code. Together, we will investigate the design patterns used in the core of Laravel 4 and discuss how they encourage reusable software.
9. Laravel
• With Laravel since 1.5.9
• Core Team Member
• Past: Quality Team
• Now: Community engagement and support
10. Laravel
• With Laravel since 1.5.9
• Core Team Member
• Past: Quality Team
• Now: Community engagement and support
• Dayle still owes me 9000 support points!
11. Software Design Patterns
Each pattern describes a problem which occurs over
and over again in our environment, and then describes
the core of the solution to that problem, in such a
way that you can use this solution a million times
over, without ever doing it the same way twice.
-- Christopher Alexander, AIS+77
“ ”
49. Service Provider
• Core to Laravel’s IoC
• See IlluminateSupportServiceProvider
• Examples:
• IlluminateAuthAuthServiceProvider
• IlluminateHashHashServiceProvider
• IlluminateLogLogServiceProvider