Archive for the ‘Singleton’ Category

So, again I will talk about Singleton and why you should be carefull with them. Everytime I think or discuss singleton the following things come in to my mind : – Global State; – Hard to test (refer to unit test post); – Singletonite (I see Singletons everywhere); – Violating the Single Responsibility Rule. I […]

I have decided to write a serie of posts around the Singleton design pattern. This first one will discuss the uniqueness aspect of a Singleton. What is a Singleton again ? In software engineering, the singleton pattern is a design pattern that is used to restrict instantiation of a class to one object. (Wikipedia) Here […]

A few weeks ago, I made a post about a very interesting video made by Miško Hevery intituled “The Clean Code Talks – Don’t Look For Things!”. Today, I discovered that there is a PDF summarizing the important principles, with actually some very detailled examples also. I really highly suggest to any programmer interested by […]

I recently watched an interesting presentation from Miško Hevery intituled “The Clean Code Talks – Don’t Look For Things!”. This presentation discusses some best practices to follow in order to keep a code clean. It talks about unit testing and the law of Demeter in OOD. For the people who never heard about it, the […]

Who am I?

My name is Bashar Al-Fallouji, I work as a Enterprise Solutions Architect at Amazon Web Services.

I am particularly interested in Cloud Computing, Web applications, Open Source Development, Software Engineering, Information Architecture, Unit Testing, XP/Agile development.

On this blog, you will find mostly technical articles and thoughts around PHP, OOP, OOD, Unit Testing, etc. I am also sharing a few open source tools and scripts.

  • Trinzia: Well done, my friend! [...]
  • vivek raj: Hello Bashar, It's really good that you wrote this code. but I'm confused some part. can you suppor [...]
  • irfan: I saw watch your youtube talk on clean and testable code. By the way very good talk. I was wondering [...]
  • Mohamed: Hello bashar, I hope you are doing well. Thank you for your hard work, and thank you for sharing [...]
  • alex davila: Hi Bashar is there any pick up example?? Regards Alex Davila [...]