Skip to content

Coding Thoughts

Personal Blog of Alexandros Gougousis

Main Navigation
  • Home
  • About me
  • Favorite Books
  • Contact me

Tag: patterns

Design patterns in Action: Flyweight and Enumerated types

Posted on November 24, 2019 By Gougousis Alexandros

Flyweight pattern is not a pattern that you will come across very often in web applications. Most web applications are just serving incoming HTTP requests, a task that lasts just a few milliseconds. So, memory usage is not really a consideration for their developers. However, there is one area where you can see this pattern…

0

Design Patterns in Action: Decorator and SPL Iterators in AWS S3

Posted on January 27, 2019 By Gougousis Alexandros

My purpose here is to talk about the decorator pattern in SPL iterators. But since many people are not aware of how much the iterators are really used, I would also like to point out one of their use cases in real life. So, my starting point will be AWS Simple Storage Service (S3). For…

0

Design patterns in action: Builder and Symfony Finder

Posted on August 19, 2018December 17, 2018 By Gougousis Alexandros

The Symfony Finder ( Symfony\Component\Finder ) is a component that, according to its documentation, can be used to “build rules to find files and directories”. This functionality includes a numder of optional parameters that can be used to construct the Finder object based on what files or directories we are looking for. The Finder uses…

0
Pingraphy powered by WordPress
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok