This is one of the harder questions in e-commerce: an existing store is not working as it should. It is slow, hard to manage, does not integrate well with systems. Is it better to rewrite from scratch or refactor? Both options have their advocates and both can be the right answer – depending on context.

(more…)

A B2B shop was charging 23% VAT to customers from Germany and France who provided EU VAT numbers. Under the reverse charge principle, VAT should be 0% for EU businesses with a VAT number. The problem generated customer complaints and tax risk. Fix time: 8 hours.

(more…)

After moving the shop to HTTPS, product images and CSS stylesheets stopped loading in Chrome. The console showed hundreds of Mixed Content errors. The shop looked broken. Fix time: 1 hour.

(more…)

Dijkstra’s algorithm is a classic shortest path algorithm for weighted graphs with non-negative weights. It runs in O((V + E) log V) with a priority queue, where V is the number of vertices and E the number of edges. Practical applications include routing, GPS navigation, recommendation systems and network optimisation. I show a PHP implementation with a priority queue and two real usage examples.

(more…)

TOP