Blog

Checksum handling with prooph components

While working on this prooph components powered API, I realized it would make sense for our mobile client to know when data changed on the server-side without constantly pulling all data from the API and comparing it locally. In a "traditional" application I would have used a checksum mechanism - e.g. creating a checksum of all the data in the datastore - but with an event sourced application this is no longer needed as we can simply rely on the timestamp of the last event happened to know if things have changed.

mehr lesen...


Verfasst von Stephan Hochdörfer am 12.09.2017 | 0 Kommentare

PostgreSQL Upsert with multiple fields

A while I ago I covered the upsert feature PostgreSQL introduced with version 9.5. Back then I showed you how to make use of upsert with one field - the primary key - as conflict target. In a recent attempt to modify the upsert logic to take 2 fields into account I tried to add the additional field to the conflict target:

mehr lesen...


Verfasst von Stephan Hochdörfer am 06.09.2017 | 0 Kommentare

Custom Attributes in System Configuration in Magento 2

In one of our current Magento 2 projects we has the need to create a custom shipping method which thhat should not be selectable when there a product in our cart with a specific value selected in a custom attribute.

mehr lesen...


Verfasst von Philipp Sander am 31.08.2017 | 0 Kommentare

Environment dependent configuration in Sencha ExtJS

As it seems there is no out-of-the-box way in Sencha ExtJS to provide a configuration based on the build environment (development, testing or production) to your application. Since you need at least different urls for your proxys, it makes sense to have a mechanism in place that would generate the respective configuration for you. This is our solution for the problem.

mehr lesen...


Verfasst von Stephan Hochdörfer am 23.08.2017 | 0 Kommentare

The sticky ranch

We are running Rancher in combination with the in-built load balancer HAProxy. For each of our customers, our application is provided as a single container, many on the same physical server instance. Each of the customers' applications can be accessed via different URLs, so the usage of the HAProxy as the routing component part of the load balancer makes sense.

mehr lesen...


Verfasst von Florian Horn am 14.08.2017 | 0 Kommentare

Docker container linking

Linking Docker containers can be done in various ways. In my recent attempt of playing with Docker and our GitLab Review Apps setup, I experimented with different methods to figure out what would work best. These are the different options I played around with:

mehr lesen...


Verfasst von Stephan Hochdörfer am 08.08.2017 | 0 Kommentare

Force Login Module v2.1 for Magento 2

With the newest release of the Force Login module for Magento 2, you are now able to change the way to define your whitelist rules. For starters, you can choose between the already known regex-based interpreter strategy and the new static-based interpreter. The latter makes it now very easy to whitelist simple URLs without the requirement to know regex syntax. We also moved the configuration tab to "Customer > Customer Configuration" section.

mehr lesen...


Verfasst von Florian Horn am 04.08.2017 | 0 Kommentare

Automating GitLab

When we made the move to GitLab 1,5 years ago, it was clear to me that we would need some automation to simplify the creation of groups and projects and to sync the LDAP group memberships to the matching GitLab groups. I did a quick search on Packagist for GitLab client libraries and found the m4tthumphrey/php-gitlab-api package.

mehr lesen...


Verfasst von Stephan Hochdörfer am 02.08.2017 | 0 Kommentare