Skip to content
Imdhemy
  • Home
  • Blog
  • About

Start typing to search the site.

    Start typing to search the site.

      • Home
      • Blog
      • About

      design-patterns

      Browse all posts filed under tag design-patterns. Check out the blog for all posts.

      HTTP Client Factory Code Refactoring

      I’m working on a Proxy/Adapter project, which we’ll call “Banana.” Banana is developed in TypeScript and uses Axios for HTTP...

      Oct 27, 2024 · 2 min read

      #typescript #refactoring #design-patterns #http-clients #software-architecture
      Read article →

      PHP Real-world use cases of singleton design pattern

      The singleton pattern ensures that a class has only one instance and provides global access to it. Okay, many developers...

      Dec 30, 2021 · 5 min read

      #php #design-patterns #singleton #laravel #software-architecture
      Read article →

      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...

      Jun 2, 2021 · 10 min read

      #php #design-patterns #builder-pattern #domain-modeling #oop
      Read article →

      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...

      May 16, 2021 · 7 min read

      #php #design-patterns #static-factory #object-creation #oop
      Read article →

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