- Видео 7
- Просмотров 12 943
Majid Karimizadeh
Добавлен 21 янв 2015
In this channel you can find daily programming challenges and how to overcome those.
LinkedIn:
www.linkedin.com/in/majid-karimizadeh
LinkedIn:
www.linkedin.com/in/majid-karimizadeh
Facade Design Pattern in PHP
Facade allows you to hide the complexity of the subsystem behinds the simple interface. For now, we are going to implement a hash interface with different hashing algorithms using PHP.
GitHub Repo:
github.com/majidkarimizadeh/facade-design-pattern-sample
Follow me on LinkedIn:
www.linkedin.com/in/majid-karimizadeh/
GitHub Repo:
github.com/majidkarimizadeh/facade-design-pattern-sample
Follow me on LinkedIn:
www.linkedin.com/in/majid-karimizadeh/
Просмотров: 3 778
Видео
Decorator Design Pattern in PHP
Просмотров 1,5 тыс.3 года назад
Decorator pattern allows us to add new functionality to an existing object. This pattern requires a decorator class which wraps the original class in order to provide additional functionality. For now, we are going to implement a simple example using PHP and see how the decorator works. GitHub Repo: github.com/majidkarimizadeh/decorator-design-pattern-sample Follow me on LinkedIn: www.linkedin....
Data Mapper Design Pattern in PHP
Просмотров 3 тыс.3 года назад
Data Mapper performs bidirectional transfer of data between a persistent data store (like databases or external APIs) and an in memory data representation (also it has known as a domain layer). This pattern keeps the in memory representation and the persistent data store independent of each other. GitHub Repo: github.com/majidkarimizadeh/data-mapper-design-pattern-sample Follow me on LinkedIn: ...
Composite Design Pattern in PHP
Просмотров 1,2 тыс.3 года назад
The Composite Pattern gives us the ability to work and interact with a group of objects, just like a single object. In this tutorial we will see how we can implement a simple menu bar with composite design pattern. GitHub Repo: github.com/majidkarimizadeh/composite-design-pattern-sample Follow me on LinkedIn: www.linkedin.com/in/majid-karimizadeh/
Bridge Design Pattern in PHP
Просмотров 1,2 тыс.3 года назад
In this tutorial I want to show you how we can use bridge design pattern in php. Bridge design pattern believes that inheritance can be replaced by composition also it tries to split the abstraction and implementation parts of our application. Today I want to create a simple file viewer with bridge design pattern, and you will see how we can split the abstract and implementation in a real case ...
Adapter Design Pattern in PHP
Просмотров 1,7 тыс.3 года назад
In this tutorial I want to show you how we can use adapter design pattern in php. Adapter allows objects with incompatible interfaces to collaborate with each other. For now, we are going to implement a simple data storage system using PHP and Redis and see how the adapter design pattern works. GitHub Repo: github.com/majidkarimizadeh/adapter-design-pattern-sample Follow me on LinkedIn: www.lin...
Implementation of simple parking system with Object-Oriented Design in php
Просмотров 5563 года назад
Hello everyone. This is Majid and in this tutorial I want to show you how to design and implement a simple parking system with object-oriented design in php. GitHub URL: github.com/majidkarimizadeh/parking-system Follow me on LinkedIn: www.linkedin.com/in/majid-karimizadeh/
Amazing series for design patterns, please add more examples! My only comment is the colors you are using for the ide
well done. that was so simple and clear explenation.
Naming could be better but overall is was good tutorial.
Thanks for your efforts
Thanks!
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.
Thank you for the video. One personal criticism though, your syntax highlighting especially the fuchsia colour makes it difficult to decipher some characters even in 720p video resolution and full screen on a 2880 x 1800px screen.
Lovely 🌹
great video thanks alot majid
Waooo super..
thank you soooo much majid 🤘
Another great video Majid, thankyou. If possible, 1080p would make these much easier to watch.
It's really helpful. Thanks Brother
You deserve a bigger following! - so many tutorials that try to explain certain design patterns use advanced language and complex examples which make it hard for the viewer to grasp - this was a nice easy to understand example.. thanks!
Glad it was helpful! Thanks
Very clear tutorial thank you, this leaves me with a question. What is the difference between Bridge pattern and Adapter pattern?
If I want to put it in a nutshell, Adapter makes things work after they're designed; Bridge makes them work before they are. For more details: stackoverflow.com/questions/1425171/difference-between-bridge-pattern-and-adapter-pattern
@@majidkarimizadeh234 thank you very much
Clear tutorial, I love it. thanks. Could you cover other design patterns, like Builder, Singleton.... Thanks in advance
Thank you Mr Karimizadeh, I hope to see you someday.
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.
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. ruclips.net/video/RpzIuPOF4SM/видео.html
@@majidkarimizadeh234 thanks a lot, I’ll have a look
The best tutorial about Facade PHP pattern so far, thumbs up !!! 👍
Fantastic. It is 3am and I just found the pattern and here the php implementation that I was searching for for weeks. It need it to create a directory tree for a CMS. The challenge will be to also represent this on the client side with React. - thanks for this!
Glad it helped!
Great job Majid. motesekkeram
Excellent tutorial. Where did you learn about PHP Facades?
thanks majid for this useful content
thnks for this tutorial
Nice example Majid
Thanks
excelent quality thanks
Thank you. This is really helpful.
thanks!
thanks!
thanks!
عالی عالی
عالی
Perfectttttt 🤘🤘🤘🤘🤘🤘🤘
💎💎💎💎💎💎
👌🏼
Thanks!
it helps very good thnks majid
Thanks a lot.
👌🏻👌🏻
Thanks!