Euruko 2016 – Ruby is dead, long live Ruby!

It has almost been three weeks since we (me and two colleagues) came back from a wonderful trip to Sofia. Thanks to Mikamai (and I will never stop to be thankful for this! 🤗) we had the opportunity to attend the 2016 Euruko conference.

Euruko2016

Considering the list of speakers, all well known for their accomplishments in and out the Ruby community, I was overexcited by the time we had the confirmation of our trip.
Personally I was particularly thrilled to listen to the two keynotes. It doesn’t happen everyday to listen to Matz and José live! 😉
Anyway, enough fangirling!

Continue reading “Euruko 2016 – Ruby is dead, long live Ruby!”

Keep you up-to-date or…get lost! (PHP won’t forgive!)

PHP is getting some pretty nice feature on each new release.

However most of the versions provided by the hosting providers don’t perfectly align with the evolution of the language.

In this situation you should really take care on how you write your code!

One example?

Function array dereferencing or if you prefer:

foo()[0]

You like it eh 😉

Unfortunately this is available only up from version 5.4.0.

If you’re handling some projects that are hosted on servers shipping an older version of the one over mentioned 5.4.0 think twice before start doing what you like 😛

P.S: self experienced 😉

PrestaShop is on GitHub! Contribute!

Don’t you know PrestaShop (PS)?
Take a look here 🙂

It’s a modular system that let you create a rich e-commerce platform by supporting a vast number of different features. These features are implemented via modules that hooks right into the core of PS.

There are a lot of modules, free and not, and the community is pretty active. Some of them are released together with PS and are directly developed by the PS group.

However some of them are limited (e.g. Cash On Delivery) and so…developers to the rescue!

There are a lot of custom modules posted in the PS dedicated forum section but actually you can also directly fork PS from GitHub, develop your changes to the core modules, and then ask a pull request.

Here’s an example of the over mentioned Cash On Delivery module enriched with the possibility to add a custom fee.
I’ve added this feature too and published the modified version of the module on GitHub. Actually I didn’t fork the entire PS repo but I’ve just created one with only my module.