It’s been 2 months now that I left aside my regular work with Drupal 8 and switched back to Atomium development for Drupal 7. I will soon publish another post on all the new stuff that has been made there, but for now, I will focus on a side project I’ve been doing.
During the first weekend of April 2019, a hackathon was held in Silverquare Triomphe venue in Brussels. The organizer, the European Commission, and a community of carefully selected developers participated to a hackathon in an amazing place. The goal of having such an amount of skills contained in one single place, is to participate to the EU-FOSSA hackathon that the European Commission organised and funded.
I’ve been contributing to a couple of trending php libraries recently and during the analysis and the making of the patches, noticed that many libraries were using PHP not in the way I was used to. Many of those libraries are having ‘final’ classes. Why using final classes everywhere, what is the advantage?
Hopefully for most of us, holidays are here. A special time for resting and enjoy quality time with the family, but also for thinking. Even if I’m not attached to any religion, doing a Christmas tree is a kind of tradition… cats really loves it :-) While decorating the tree, it got me thinking about tree based data structure.
Recently, I’ve been busy rewriting small PHP libraries like ValueWrapper, HTMLTag, PHPNgrams, DynamicObjects, PHPartition, PHPermutations and Memoize. I mostly rewrote them because of multiple things I wanted to do: Use SOLID principle: The Single Responsibility Principle Automatically generate and publish the library documentation using APIgen Improve the tests quality by using PHP Infection Improve the class hierarchy design when using a PHP trait and remove some limitations.
Younger, working in Brussels was not an option. I never had a deep love for that city, never had a deep love of traffic jam… and never had love for public transportation like trains. Despite the fact that I love driving, I can’t bear staying in the car, stucked in the traffic jam, praying for the people in front of you to pass the next gear.
As I wrote in my previous post, the last months were pretty busy. And it’s still the case. I’ve been assigned new tasks at work and if you know me a bit now, you probably know that I like to do things properly. So, the task I’ve been asked to do is to analyze and rewrite the custom authentication system of NextEuropa, the Drupal 7 platform used at the European Commission.
These last months were busy. I mean, really busy. First, I have some important personal projects that are ongoing since years now that are about to be concluded. These projects takes less or more 70% of my free time since 2 years. Then, real regular work, it’s taking me also a lot of time.
In December 2016, I started to write a PHP library called PHPermutations to handle permutations and combinations of an array of items. The array items can be any type of object: integers, arrays, strings or objects, the library will still continue to work without any trouble. But before going further, let me remind you what are the differences between permutations and combinations.