Viewing entries posted in 2015

Sending mails with attachments in Magento 2

The Magento 2 Transport Builder, responsible for preparing a mail message, wraps the mail component of the Zend Framework. Unfortunatly it is missing a method to add attachments. I submitted a Pull Request to Magento 2 to fix the issue but for now we need a work-a-round in our project. First we extend the Magento 2 Transport Builder like this:

mehr lesen...

Eintrag von Florian Horn am 17.03.2016


Am Donnerstag den 24.03.2016 trifft sich die PHP Usergroup Frankfurt. In meinem Vortrag "Jenkins for PHP projects" werde ich beleuchten wie sich Jenkins für PHP Projekte nutzen lässt, welche Jenkins Plugins wir gerne verwenden und was es generell beim Einsatz von Jenkins zu beachten gilt.

mehr lesen...

Eintrag von Stephan Hochdörfer am 16.03.2016

Dutch PHP Conference 2016

Vom 23.06.2016 bis zum 25.06.2016 findet bereits zum 10. Mail in Amsterdam die Dutch PHP Conference statt. Ich freue mich zum siebten Mal in Folge dabei sein zu können und meinen Vortrag "Microservices: Packs small, plays BIG!" präsentieren zu dürfen.

mehr lesen...

Eintrag von Stephan Hochdörfer am 15.03.2016

Using bitexpert/pathfinder with willdurand/hateoas

When I began converting the unKonf API backend to make use of Adroit and Disco I wanted to give the willdurand/Hateoas a try to turn the API into a "real" HATEOAS REST web service. Since we use our Pathfinder component as a router it felt natural to use Pathfinder to generate the links for the relations between the different domain objects. Luckily the willdurand/hateoas is pretty flexible and allows to define custom Url Generators with a few lines of code:

mehr lesen...

Eintrag von Stephan Hochdörfer am 24.02.2016

Developer Week 2016

Vom 20.06.2016 bis zum 23.06.2016 findet in Nürnberg die DWX - Developer Week 2016 statt. Ich freue mich dabei zu sein und meinen Workshop / Dev-Session "NoSQL mit PostreSQL" halten zu können. Die Teilnehmer lernen den Umgang mit JSON in PostgreSQL sowie den Einsatz der sog. Foreign Data Wrappers am Beispiel von Redis.

mehr lesen...

Eintrag von Stephan Hochdörfer am 19.02.2016

Dbal Storage for OAuth 2 Server

Recently I experimented a bit with OAuth 2.0 Server because I wanted to protect the API backend for the unKonf website using OAuth2 - mostly to see how easily I can integrate it with our Adroit middleware. While integrating OAuth2 Server and Adroit was fairly trivial, I was missing a Doctrine storage provider for OAuth 2.0 Server. Since I could not even find a package on packagist I thought about writing one myself. You can find the bitexpert/oauth2-server-storage-dbal package on Github. It can be installed it via Composer:

mehr lesen...

Eintrag von Stephan Hochdörfer am 16.02.2016

Disco v0.2.0 is out

Last week when I was in Miami to speak at the SunshinePHP 2016 conference I took the time to prepare the version 0.2.0 release of our PHP DI container called Disco. This release features 2 important changes which I want to highlight in this blog post.

mehr lesen...

Eintrag von Stephan Hochdörfer am 13.02.2016

Building applications with Symfony Console, Disco and box2

In the past few weeks I built a few cli applications with Symfony Console and Disco, the DI container we open sourced last year. I wanted to figure ouf if we run into issues with Disco that we need to work on. The main script looks like this:

mehr lesen...

Eintrag von Stephan Hochdörfer am 20.01.2016

Using Doctrine, ramsey/uuid-doctrine and willdurand/Hateoas

Recently I experimented a bit with Doctrine ORM and the willdurand/Hateoas library to expose my Doctrine objects via an HATEOAS api which luckily is a fairly trivial thing to do. All you need to do is set up the Hateoas serializer and call the respective serialize() method passing your Doctrine object as well the serialization type:

mehr lesen...

Eintrag von Stephan Hochdörfer am 12.01.2016

Increase the Speed of Reading XLSX Files

A few month ago, I wrote an article about some PHPExcel performance tweaks. Sadly we encountered some nasty memory exhaustion issues while reading big XLSX files with PHPExcel. The issues does not occur directly in PHPExcel, furthermore the current PHP process is killed in the SimpleXML/LibXml library execution silently, without any exception or error notification.

mehr lesen...

Eintrag von Florian Horn am 06.01.2016

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.