Entries Tagged ‘e-commerce’

Design patterns – Part 1: Strategy pattern

One of the simplest and most commonly used patterns is definitely strategy pattern. We cannot pass a boring definition, so here you go: The Strategy Pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy algorithm vary independently from clients that use it. You will find out that all strategy pattern […]

Transaction logging class for Google Analytics

At work, we are using Google Analytics tool to monitor user behaviour on our web pages. One of the things we really desired in earlier versions and is now finally available is e-commerce transaction logging. This extension uses passed data in many cool ways, creating several impressive reports (e.g. how many times a user visited […]