0
Completed

Added Real-World Examples for State and Memento Patterns (PRs submitted)

Driss 1 Π³ΠΎΠ΄ Π½Π°Π·Π°Π΄ β€’ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ 1 Π³ΠΎΠ΄ Π½Π°Π·Π°Π΄ β€’ 3

Hi everyone πŸ‘‹

I've noticed that the the https://github.com/RefactoringGuru/design-patterns-php repo is missing real world examples for State & Memento patterns. So I’ve submitted two pull requests:

Both examples are written with readability and practical use cases in mind, consistent with the repo's style. I’d love for the maintainers and community to take a look, give feedback, or consider merging them if they meet the standards.

I also want to express my sincere gratitude to the author of Refactoring Guru β€” the content has been incredibly helpful in deepening my understanding of design patterns. It's a fantastic resource for developers at all levels. Thank you for making this knowledge so accessible!

Looking forward to contributing more!

Thanks πŸ™
Driss

+1
Completed

Hi Driss!

Sorry for the delay and thanks a lot for your contributions, man! I'm uploading the updates right now.

Hi Alexander

No worries at all β€” and thank you for getting back to me. I'm glad to contribute! Looking forward to seeing the updates once they're up.

I'll submit a different real world example for the Memento Pattern

БСрвис ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠΈ ΠΊΠ»ΠΈΠ΅Π½Ρ‚ΠΎΠ² Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚ Π½Π° ΠΏΠ»Π°Ρ‚Ρ„ΠΎΡ€ΠΌΠ΅ UserEcho