Thoughts, tutorials, and insights on software development.
Two dimensional arrays are everywhere. Here are a few functions, attached to the Array prototype, which can make your life easier when sorting through two dimensional arrays in JavaScript.
This my third article on my impressions with Magento 2.0. In this case I have to work with the Magento 2.0 SOAP API. Experience is frustration to say the least.
After my first impressions with Magento 2, here are my second impressions: A fully working and sound Magento 2.0, broke overnight, on its second day, with not even a single product uploaded.
This is a collection of links, which I have found interesting for one reason or another: service providers, JavaScript utilities, jQuery plugins, PHP libraries, and more.
When working with large datasets, chunking is the key: instead of loading everything in the memory at once, you load only a chunk of records. Here is a reliable manual chunking solution for Laravel.
Magento is the leading e-commerce solution trusted by millions of shop owners. Today Magento 2.0 was officially released. Here are first impressions on downloading, installing, and using it.
If you are using Laravel, you may run into the issue of Laravel stopping to throw error messages. Here is a quick fix to make it work again.
The stock keeping unit (aka SKU) is a special alphanumeric identification tag attached to a product. This article explains how to check and retrieve Magento products using the SKU tag via the API.
Not long ago many single page application (SPA) frameworks started to appear in the JavaScript camp. This article explains why SPAs are doomed to fail due to memory issues, single point of failure, and navigation misuse.
These are some quick copy-and-paste snippets that I use all the time. PHP, JavaScript, Linux and Composer snippets included.
For one of my sites I needed to install a SSL certificate. Here is the procedure you have to follow to have the certificate installed without issues.
I wanted to use wkhtmltopdf on an Ubuntu 14.04 webserver. After downloading the binaries they came up with errors. Here is how to install it properly using xvfb.