PHP 7.2: the pitfalls to avoid for a better and cleaner code

What are the pitfalls to avoid with this new version of PHP and its new functionalities? As my previous article on PHP 7 scalar and return types pitfalls, instead of describing the new super cool features of this perfect PHP 7.2, I will describe what can be dangerous for the good health of your application. As Ward Cunningham stated it: “You know you are working on clean code when each routine you read turns out to be pretty much what you expected. »

6 min. read

Vim Search, Find and Replace: Commands and Plugins to Search and Find What you Want

Can a developer live without a good search engine in his editor or IDE? What developer never used the famous find and replace in multiple files? Yep. Nobody. You can be happy though, dear Vim user: your editor totally shine by its search features! With a minimum of configuration you can be able to search whatever you want, wherever you want at light speed. You need to use Vim to find and replace occurrences in thousand of files and filter with a maximum of granularity? »

10 min. read

10 tips to Become a Good or Even Better Web Developer

Last update: 2018-06-24 I had a dream! This dream was to write an article with a title beginning by “10 tips to…”. I don’t normally like them so much (yes, they are often pure clickbait) but let’s face it, humans like lists. That’s why we have the ul tag in HTML. You are a web developer and you want to improve? Improvement is indeed something you should have in mind: it will make your work much more enjoyable and your boss happier. »

14 min. read

Vim and PHP: The Complete Guide for a Powerful PHP IDE

Last update: 2018-06-09 Vim, an IDE? I can see you spitting your cereals in front of you computer. “What? A PHP IDE with Vim? Are you insane?” Am I? It’s definitely possible to make a very powerful IDE with Vim, thanks to my ex-colleague kushellig who initiated me to this dark knowledge. The list of plugins I propose here will cover most of your needs: project management, autocompletion, PHPDoc generation, powerful search and replace tools, debugger… all these features will be at your fingertips, for free! »

14 min. read

How did I replace PhpStorm by Vim in my heart

I wrote an article some time ago in order to give you the most useful tips and tricks for my favorite php IDE, PhpStorm. Well, sorry PhpStorm, you were my favorite IDE. Things changed. I love another one now. Its name is Vim. Are you confused? Are you yelling “why”? What happened between PhpStorm and me? Why a PHP developer would use this… old smelly thing called Vim? I was happy with PhpStorm. »

13 min. read