Facade Design Pattern in PHP

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 16

  • @behnambahrami7175
    @behnambahrami7175 2 ปีที่แล้ว +1

    Thank you Mr Karimizadeh, I hope to see you someday.

  • @JacklapottTv
    @JacklapottTv ปีที่แล้ว +3

    Correct me if I'm wrong but for me this is an implementation of a factory pattern not facade, facade tends to hide complexity of APIs not building concrete classes instances

    • @coran7122
      @coran7122 6 หลายเดือนก่อน

      I think it's a Strategy implementation.

  • @codeblood87
    @codeblood87 2 ปีที่แล้ว +1

    Lovely 🌹

  • @dAvid3_f
    @dAvid3_f 3 ปีที่แล้ว +2

    The best tutorial about Facade PHP pattern so far, thumbs up !!! 👍

  • @Quynn-Oneal
    @Quynn-Oneal 3 ปีที่แล้ว +1

    Great job Majid. motesekkeram

  • @MrWilde
    @MrWilde 2 ปีที่แล้ว +1

    Another great video Majid, thankyou. If possible, 1080p would make these much easier to watch.

  • @NoahNobody
    @NoahNobody 3 ปีที่แล้ว

    Excellent tutorial. Where did you learn about PHP Facades?

  • @dAvid3_f
    @dAvid3_f 3 ปีที่แล้ว

    Hello, once again, I do really enjoy this tutorial. Simple and well explained :)
    I have a question for you ...
    Let's say I'd like to refactor one of my PHP class which does use PHP PDO to connect to both SQLite, MySQL and PostgreSQL.
    I would also potentially need to be able to extend to other DBMS like Oracle or anyone else in the future.
    What would be the best design pattern to use ? Bridge or Facade ?
    Thanks for your feedback

    • @majidkarimizadeh234
      @majidkarimizadeh234  3 ปีที่แล้ว +1

      Adapter design pattern would be good for these kinds of requirements.
      Also, you can watch a light tutorial about adapter in the following link.
      th-cam.com/video/RpzIuPOF4SM/w-d-xo.html

    • @dAvid3_f
      @dAvid3_f 3 ปีที่แล้ว +1

      @@majidkarimizadeh234 thanks a lot, I’ll have a look

  • @ApplicableProgramming
    @ApplicableProgramming 3 ปีที่แล้ว

    Nice example Majid

  • @SepehrRadfar
    @SepehrRadfar 3 ปีที่แล้ว

    thnks for this tutorial

  • @mevkok
    @mevkok 2 ปีที่แล้ว

    Damn, nice tutorial but there are some clues that I think prove you didn't do this tutorial:
    1. Your voice-over is out of sync with the video
    2. Somewhere around 8:50 you actually unmute the video and the real person is heard talking...
    It's pretty nice tutorial but because of that stunt you get thumbs down.

    • @majidkarimizadeh234
      @majidkarimizadeh234  2 ปีที่แล้ว +1

      Thanks for your comment. In next tutorials, I'll consider them.