Blog

Magento 2 Arrays in Dependency Injection Context

In a recent project the client asked us to remove a few of the defined dataproviders for the autocomplete functionality. The consolidated DI configuration of the autocomplete element looks like this:


mehr lesen...


Eintrag von Stephan Hochdörfer am 13.09.2018

Solving conflicts in Magento's config.php

Sometimes you run into this situation when a git pull will responds with `Merge conflict in config.php`. How to solve this issue in a proper way? Let's have a look how other people solve similar issues, namely my friend Mr. Rafael Dohms. Quite a while ago he blogged about a similar problem on how to solve conflicts in Composer's lock file. This is what I learned from his blog post:


mehr lesen...


Eintrag von Stephan Hochdörfer am 05.09.2018

magerun2-list-api-endpoints V1.0.0

We have just released the first version of our magerun2 plugin "bitexpert/magerun2-list-api-endpoints". The plugin will print out a list of all defined webapi endpoints including their routes and defined resources. You are able to filter those routes by their respective HTTP method and name as well.


mehr lesen...


Eintrag von Stephan Hochdörfer am 31.08.2018

unKonf 2018 – Ein Hoch auf den Aha!-Moment

Auch dieses Jahr ist es wieder so weit! Am 13.10.2018 öffnet die bitExpert AG die Türen für die 5te unKonf. Wie in der Vergangenheit richtet sich die unKonf an interessierte Software-Entwickler die sich zu aktuellen Themen gemeinsam austauschen möchten.


mehr lesen...


Eintrag von Stephan Hochdörfer am 27.08.2018

Running Axon.ivy Designer on KDE Neon (Ubuntu 16.04)

I had a hard time getting the Axon.ivy Designer to run on my KDE Neon desktop. The designer application - basically a custom Eclipse build - starts fine but when I try to launch the browser view, the Eclipse instance crashes. Browsing the Eclipse bugtracker showed that this is a common problem or in other words "practically speaking the embedded browser widget is unusable" on a recent Linux version. It was proposed that installing libwebkitgtk-1.0 would fix the problem, but that did not work for me. Instead installing libwebkitgtk-3.0 and a minor tweak finally fixed the problem for me.


mehr lesen...


Eintrag von Stephan Hochdörfer am 20.06.2018

Running Magento 2 API tests via Postman

In a current Magento 2 project we are focussing on building a headless instance that communicates with a kind of PWA application. In such an environment testing the APIs via Postman makes sense and since the Magento 2 API is documented via Swagger, one can easily import the API definition into Postman. Here is how to do it with httpie:


mehr lesen...


Eintrag von Stephan Hochdörfer am 10.05.2018

Installing Rancher Server With SSL

When setting up Rancher via its Docker container, you are not able to configure SSL termination out-of-the-box. Instead the Rancher documentation gives some advice on how to set up SSL termination via nginx or Apache. But why would you install such a service on the host when Rancher is running in a container? Ideally the SSL proxy would also run in a container. Searching on Docker Hub for a solution, I found the dictcp/rancher-ssl image that provides exactly that. The set up is trivial.


mehr lesen...


Eintrag von Stephan Hochdörfer am 02.05.2018

Forcing .dev domains to HTTPS via HSTS

In one of our projects we had the need to access a web application via a .dev domain. The application was shipped with a self-signed SSL certificate, usually not a big deal. But not this time. Chrome and Firefox both complained that the application was using a self-signed certificate, an error I have seen many times. But this time things were a bit different, neither Chrome nor Firefox offered the possibility to whitelist the server certificate because the website was using HSTS. I checked the webserver configuration for the HSTS configuration but could not find anything. It took me quite a while to remember having read about a change in Chrome which added the HSTS configuration for the .dev gTLD by default. Also Firefox made a similar change recently which I learned about while looking on how to solve the issue.


mehr lesen...


Eintrag von Stephan Hochdörfer am 23.04.2018

react.amsterdam conference feedback

On 13 April 2018 we visited the React Amsterdam conference. The conference took place in the Kromhouthal, Amsterdam and is the biggest React conference worldwide. Two tracks were offered: General and React native.


mehr lesen...


Eintrag von Christopher Campbell am 20.04.2018

Securing Traefik Web UI

In one of our projects we use Traefik as a reverse proxy together with nginx and gunicorn to run a Django app in a docker-based environment. When deployed to production, we wanted to make the Traefik UI accessible for the customer, but keep it secure from unwanted visitors. Fortunately, Traefik offers a very simple yet powerful configuration option, which we enabled in a traefik.toml configuration file:


mehr lesen...


Eintrag von Leon Roth am 05.04.2018

Diese Webseite verwendet Cookies, um die Bedienfreundlichkeit zu erhöhen. Mit der Nutzung unserer Webseite wird das Einverständnis erklärt, dass wir Cookies verwenden. Weitere Informationen.