Skip to content
Imdhemy
  • Home
  • Blog
  • About
  • Home
  • Blog
  • About

oop

Check out the blog for all posts.

Jun 2, 2021 · 10 min read

#php #design-patterns #builder-pattern #domain-modeling #oop

Why you need a builder to create your entities and models

Static factories and constructors share a limitation; they do not scale well to large numbers of optional parameters. Consider the...
Read article →

May 16, 2021 · 7 min read

#php #design-patterns #static-factory #object-creation #oop

Three advantages of using static factory methods in PHP

Constructor overloading is a concept of having more than one constructor with a different list of parameters. PHP doesn’t allow...
Read article →

© 2021 - 2026 . imdhemy.com Published by Jekyll, hosted on GitHub Pages.