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...
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...
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:
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...
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:
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.
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:
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:
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.
When browsing the Vagrant 1.8 Changelog file I realized that the latest Vagrant version supports Linked Clones which according to the Changelog means that imports during the vagrant up process will run much faster than before. Since it did not work out-of-the-box for me, I had to dig deep in the Vagrant documentation to figure out that you need to explicitly enable the feature. Simply add the following lines to your Vagrant configuration and your vagrant up command will probably run faster than ever: