SOLID Code in Laravel

SOLID Code in Laravel

English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 21 lectures (1h 46m) | 587 MB

Want to get a Senior Laravel developer position?

You probably need to master software design principles, like SOLID.

So, if you want to have a PRACTICAL dive into SOLID and how to apply it specifically to Laravel projects, this 1.5-hour course is for you.

In addition to explaining those five letters individually, I will show how they are used in existing open-source projects, also we’ll discuss some other principles and how to generally think about SOLID.

Table of Contents

1 Before We Begin: What is SOLID and My Initial Thoughts
2 S: Single-Responsibility Principle – Too Big Methods
3 S: Single-Responsibility Principle – Too Big Controllers
4 O: Open-Closed Principle – Report Formats with New Classes
5 O: Open-Closed Principle – Vendor in Laravel
6 O: Open-Closed Principle – Eloquent Attribute with Salary Calculator
7 L: Liskov Substitution Principle – Type-Hint Everything
8 I: Interface Segregation Principle – Default Laravel Models
9 I: Interface Segregation Principle – Separate Data and Download
10 D: Dependency Inversion Principle – Pass the Parameter as Interface
11 D: Dependency Inversion Principle – Report Interface
12 Monica CRM: 4 Principles with Some Potential Improvements
13 Koel Music Service: Useful Services and Kinda Useless Repositories?
14 Spatie Media Library: HasMedia Interface with Trait Implementation
15 Laravel Fortify: Override Views for All Pages
16 Tools for Static Analysis to Detect SOLID Violations: Larastan, PHP Insights, PHP Metrics
17 DRY: Blade Components
18 Fowler’s Code Smells
19 YAGNI And Premature Optimisation
20 SOLID is Too Old? Introducing SHOC and CUPID
21 So How to Apply SOLID in Everyday Coding?

Homepage