There is no shame of asking questions

So, as a programmer do you feel ashamed of asking questions? and let us say that you are new to programming, do you care about that? The most important thing that I have found over the past few days is that newcomers to programming feel scared of how the community will react to them when […]

When you cant focus

In the past few weeks/months, I didn’t have my focus on one specific thing, I was doing multiple things at the same time, I tried to study English to improve it and have better score, I tried to read more about PHP (as each day pass I feel that am losing and forgetting everything I […]

Testing upload file with Slim 3 (a better way)

In my last article, I talked about how we can mock the upload functionality, but without testing the existing of the file, this will work with you without any problem, but now to test the existence of the file we can do it like this: This is the content of the upload function from the […]

Testing upload file with Slim 3

  Automatic testing may not the best topic I can talk about, at least for now, but it’s something that am committing to learn. So yesterday I was playing with Slim 3 (which is a PHP microframework) and I needed to try and see if I can test a dummy controller which upload a file […]

Why I write in English

Everybody around me knows that English is not my mother language, and how much I like to write in Arabic, but why do you think I have archived my Arabic blog (which I started in December 2004) and started an English one? Yes I know am not that good in English, and I have a […]

What you should use to write a CLI app

I was going to write a post about this, but then I found out that I don’t have a big plan for what am going to write, so instead, I prefer that you go and read this article: Re-Introducing Symfony Console – CLI PHP for the Uninitiated! its not exactly what I wanted to write, but why […]

Why I choose CLI over web interface

Yesterday I was working on a piece of code which needs to communicate with beanstalkd server, so I spent about an hour or so trying to figure out which framework to use, Lumen, Slim or even Laravel. The code was not that much complicated, just getting some data and passing it to the queue server and […]

What am doing and Why am not blogging that much

Okay, so basically I have few Ideas which I want to work on, some have been already in my head just needed the time, some just got into my head, so for sure I’ll work with what I already have. So far I have got the domains, I do know where am going to host […]

How to configure PHPStorm 2017.1 to work with native Docker for mac

Today PHPStorm released the new version of 2017, with the number 2017.1 There are a lot of changes and updates, the main one which I want to talk about today is the fact that from now on no need to use socat as mentioned in my older post to talk to Docker on mac, now […]

How to test and auto deploy your laravel code from Gitlab

Few days ago, I was playing with the new Laravel 5.4 and Gitlab CI, and got to the point where I wanted the CI to test my code once I push it. Using google lead me to this post on Laracasts, and it was the starting point for me, there you can get important files […]