Vim Search: Commands and Plugins to Search, Find and Replace Everything 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

PHP 7 Type Hinting: Inconsistencies and Pitfalls

When PHP 7 came up with strong types, I saw the light. I had the hope not to see anymore bugs and inconsistencies due to weak typing in PHP. I remember reading some code and having no idea what could be the type of the variables I had in front of me. Can I use the return of this method as an int? A boolean? Will it create silent bugs and unexpected behaviors? »

8 min. read

DateTime PHP: How to Format and Compare Dates

When I search and read code about time and date problems, I noticed that a lot of people still use the old PHP functions like date(), time() or strtotime(). What about using DateTime instead? It is time to introduce this powerful PHP object. DateTime can do all the usual date and time operations you could ask for and even more. Using DateTime can save a lot of time when you have to do more complex operations on dates. »

4 min. read

10 PhpStorm Shorcuts and Tricks you Should Know

PhpStorm is my favorite IDE for coding in PHP: pretty stable, you can do a lot with it. A shed load of stuff in fact. Even coding! The guys from Jetbrains tried to integrate every useful tools for a web developer in one software and, I have to say, it is pretty well done! You can configure easily a debugger, using a terminal, sending requests to your remote or local databases. »

6 min. read