Open-closed Principle (OCP) states "Software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification." This implies that entities should be extendable without altering the class itself. The main idea of this principle is to keep the current code from breaking when you add new features.
#Laravel #PHP #LaravelPHP #Qirolab
▶ SOLID design principles Playlist
[ Ссылка ]
▶ What is SOLID design principles in PHP, Laravel? Why should we use them?
[ Ссылка ]
▶ #1: Single Responsibility Principle (SRP)
[ Ссылка ]
▶ How to modify created_at & updated_at timestamps in Laravel?
[ Ссылка ]
▶ How to use UUID as Primary key instead of auto-increment IDs in Laravel application?
[ Ссылка ]
▶ Laravel Model Lifecycle Events and How to use Observers in Laravel?
[ Ссылка ]
▶ #1: SPA Authentication using Laravel Sanctum
[ Ссылка ]
▶ #2: API Token Authentication using Laravel Sanctum
[ Ссылка ]
▶ Laravel Eloquent Relationships
[ Ссылка ]
▶ Impersonating Users in Laravel And Example of TDD using PHPUnit
[ Ссылка ]
▶ Laravel Macros - How to create a Macro? How to create a class-based macro using mixin?
[ Ссылка ]
▶ Laravel Packages
[ Ссылка ]
▶ Laravel Backup Tutorial
[ Ссылка ]
▶ Laravel Fortify Tutorial
[ Ссылка ]
▶ Laravel Passport Tutorials
[ Ссылка ]
▶ Setup Web Development Environment Ubuntu
[ Ссылка ]
⌚ Timestamps:
00:00 Introduction / Definition
01:48 Example 1
19:00 Example 2
25:25 Example 3
Support my work:
1. On BuyMeACoffee: [ Ссылка ]
2. On Patreon: [ Ссылка ]
𝐃𝐢𝐠𝐢𝐭𝐚𝐥𝐎𝐜𝐞𝐚𝐧 𝐑𝐞𝐟𝐞𝐫𝐫𝐚𝐥
[ Ссылка ]
Also, follow us on:
𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: [ Ссылка ]
𝐓𝐰𝐢𝐭𝐭𝐞𝐫: [ Ссылка ]
Ещё видео!