Тёмный

#2: Open-Closed Principle (OCP) in PHP, Laravel | SOLID Design Principles 

QiroLab
Подписаться 18 тыс.
Просмотров 8 тыс.
50% 1

Опубликовано:

 

10 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@QiroLab
@QiroLab 2 года назад
SOLID design principles Playlist ru-vid.com/group/PL1TrjkMQ8UbWsspx0ABrsWl6ENnLEq9AH ⌚ Timestamps: 00:00 Introduction / Definition 01:48 Example 1 19:00 Example 2 25:25 Example 3 Support my work: 1. On BuyMeACoffee: www.buymeacoffee.com/qirolab 2. On Patreon: www.patreon.com/qirolab Also, follow us on: 𝐅𝐚𝐜𝐞𝐛𝐨𝐨𝐤: fb.com/qirolab 𝐓𝐰𝐢𝐭𝐭𝐞𝐫: twitter.com/qirolab
@iconictrailers561
@iconictrailers561 Год назад
I believe all you need do after setting up your files the way he did here, is implement what he did in the web route closure in your controller, then simply call the controller class and function in the web route with no closure this time.
@_origin5858
@_origin5858 3 месяца назад
perfect videos ! Just one single note here to mention that your SalesReport Class still violates SRP , cause your export method shoulnt be inside of that class, because the responsibility of that class should only be the query.
@parijke
@parijke 2 года назад
Very clear. Nice to mention that you are using the Strategy Pattern to adhere to this principle here.
@ahmedhamza9277
@ahmedhamza9277 Год назад
awesome explanations
@QiroLab
@QiroLab 8 месяцев назад
Thank you! Cheers!
@phuoctranngoc8749
@phuoctranngoc8749 2 года назад
Very easy to understand, thank sir.
@user-hd8wr9ed6b
@user-hd8wr9ed6b Год назад
Its tooooooo helpfull bhai. thanks
@QiroLab
@QiroLab 8 месяцев назад
Thank you! Cheers!
@sirajul-anik
@sirajul-anik Год назад
IMO sales reports should not know how you want to export the data, thus the export method doesn't make sense to me in the report class. rather the exporter classes with sales data made sense.
@kiranugale88
@kiranugale88 Год назад
Nice explanation 👌
@QiroLab
@QiroLab 8 месяцев назад
Thank you! Cheers!
@dibbyo456
@dibbyo456 Год назад
Quality content
@QiroLab
@QiroLab 8 месяцев назад
Thank you
@amgadalwattar2863
@amgadalwattar2863 Год назад
It's very clear , thanks you
@QiroLab
@QiroLab 8 месяцев назад
Thank you! Cheers!
@themonster4759
@themonster4759 Год назад
so so helpful thanks for your effort
@QiroLab
@QiroLab 8 месяцев назад
Thank you! Cheers!
@janryansantos8473
@janryansantos8473 2 года назад
Sir I love you!, Thank you
@azengakevin2310
@azengakevin2310 2 года назад
This is helpful am currently working on an eCommerce site that requires multiple payment gateways, am going to try this
@QiroLab
@QiroLab 2 года назад
Glad you liked it!
@niloofarnoorbakhsh1803
@niloofarnoorbakhsh1803 2 года назад
so useful thank you so much
@manishkumaraditya9818
@manishkumaraditya9818 8 месяцев назад
Awesome
@QiroLab
@QiroLab 8 месяцев назад
Thank you
@sameera-dananjaya-wijerathna
@sameera-dananjaya-wijerathna 2 года назад
Awesome explanation
@QiroLab
@QiroLab 2 года назад
Glad you liked it
@itsLarryAlright
@itsLarryAlright 2 года назад
Nice tutorial. The multiple payment gateway is really nice. I just wanted to ask if i want to dynamically select the payment gateway to use based on post request received from the frontend do I have still need to fall back to if else statements on my controller?
@_RdN
@_RdN Год назад
I think you can make those statements on a "Service Class". Controllers are meant to treat the requests, only. That's just my opinion, ofc :)
@niranjanshrestha4592
@niranjanshrestha4592 2 года назад
Wow, loved it.
@QiroLab
@QiroLab 2 года назад
So glad!
@ishratali1568
@ishratali1568 2 года назад
very nice.keep it up
@YogiGhorecha
@YogiGhorecha Год назад
to complicated...
@QiroLab
@QiroLab 6 месяцев назад
I understand it might seem complicated at first. I felt the same when I first encountered it. Try watching it a couple of times, and it'll start making more sense. Don't hesitate to ask if you have any specific questions!
Далее
▼ЮТУБ ВСЁ, Я НА ЗАВОД 🚧⛔
30:49
Просмотров 532 тыс.
Using Generics with PHP
25:55
Просмотров 9 тыс.
Write Laravel, not PHP (feat. Aaron Francis) | 029
58:45