Recently I had to debug an old website I developed in 2011, an ecommerce that runs using PrestaShop 220.127.116.11 (at the time I wrote this post, PrestaShop is in version 18.104.22.168). My client contacted me for an odd bug that occurs sometimes but not all the time. I didn’t want to spend much time on this in order not to charge him too much. So I ended up adding Sentry to this website using their free plan to track any error that could occur. Here is how I did it.
A webhook is an HTTP endpoint on your server which can be called to execute tasks. For example in the case of GitHub you can setup that GitHub sends an HTTP POST each time you do something on a specific repository. When your endpoint is called, it will execute a command like running tests, deploying a new version, sending an email, or whatever you want.
In February 2014 my coworker Maylis started her project Copier-Créer (means Copy-Create). It’s a daily creative routine about creating images from inspiration. Her work is under a Creative Commons Licence, so feel free to use it for your craft.
A few weeks ago I had to write a few lines of PHP to interact with MailChimp and Twitter. To do so without writing an ugly
index.php with an if-else-like structure, I ended up using Slim. It’s a micro Web framework for PHP that works like Sinatra. And to test my implementation, I used Postman, because it’s simpler than doing a curl or add some JS.