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
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
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
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.
Thank you Mr Karimizadeh, I hope to see you someday.
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
I think it's a Strategy implementation.
Lovely 🌹
The best tutorial about Facade PHP pattern so far, thumbs up !!! 👍
Great job Majid. motesekkeram
Another great video Majid, thankyou. If possible, 1080p would make these much easier to watch.
Excellent tutorial. Where did you learn about PHP Facades?
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
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
@@majidkarimizadeh234 thanks a lot, I’ll have a look
Nice example Majid
Thanks
thnks for this tutorial
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.
Thanks for your comment. In next tutorials, I'll consider them.