Archive for the ‘Programming language’ Category

A friend and I have been working on different projects together. We recently decided to share one of our script to the open source community.
The name of the tool is the Autoload Manager.
The AutoLoad Manager is a generic autoloader that can be used with any PHP framework or library. Using the PHP tokenizer mechanism, it [...]

Wufoo shares a very neato tool called PHP Quick Profiler or PQP. It basically allows a developper to have some usefull and fancy logging on a piece of code.

How hard is it to use ? 
Well, it took me around 3 minutes to download and use it on one of my scripts.
Here is what I got [...]

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 law [...]

One of the characteristic of PHP is that it doesn’t do strong typing.
PHP 5.1 introduced Type Hinting. Functions were able to force parameters to be objects (by specifying the name of the class in the function prototype) or arrays.
I recently read one RFC (Request For Comments) - on PHP.net wiki - from Felipe [...]

I had the chance to attend the PHP Québec Conference this year. It was very interesting. I highly encourage anyone to attend such conferences if he / she is interested by PHP.
Anyway during one of the presentation, I discovered an interesting little script / tool named PHPLoc. It is written by Sebastian Bergmann and It [...]

Ever wondered what is the fastest programming language ? Here you will find some benchmarks. Have fun comparing the results.
Languages benchmark
Well, guess in what position is PHP ?

Thank god Ruby is here…

This website should add some “energy” to the never ending debate “What is the best programming language”…

There are many posts about what editor to use when programming with PHP.
I have been using VIM since about 7 months, I got convinced by a fellow coworker to use it. I gotta admit, it was a headache at the beginning, but the more I use it, the more I like it.
If you ever want [...]

So.. I finally decided to start my own Blog.
Why? Well, like many fellows, I do spent time to read about “stuffs” on the web and I felt it was time to share some of my findings.
What do I read about usually ? Actually, kinda anything…
Ok, I will start with a framework that I just discovered, [...]


Who am I?

My name is Bashar Al-Fallouji, I work as a Service Architect at Origin Energy (Sydney, Australia).

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

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.

  • dipan: Hi Bashar It's really awesome that you wrote this code. IT'll save tones of time of all developer. [...]
  • Bashar: Glad that you liked it ! [...]
  • Angel S. Moreno: well, there goes wasting a couple of hours of development and a couple of days of testing. I owe you [...]
  • Bashar: Thats right, the setSaveFile create a files containing an associative array of classname => filen [...]
  • Loggy: Jim's clarification in particular was pretty useful although I did have to dig down into the tree to [...]