Adroit - the ADR/PSR7 middleware
In the course of pushing a few of our "internal" components to the public, it is about time to release the current version of Adroit which is our "smart" (pun intended) ADR/PSR-7 middleware implementation.
In the course of pushing a few of our "internal" components to the public, it is about time to release the current version of Adroit which is our "smart" (pun intended) ADR/PSR-7 middleware implementation.
Vom 04.02.2016 bis zum 06.02.2016 findet in Miami die Konferenz SunshinePHP 2016 statt. Ich freue mich dabei zu sein und meinen Vortrag "Micro Services: Packs small, plays BIG!" präsentieren zu können.
Last week we open-sourced our DI container called Disco (Dependency Injection Container). The general feedback on Twitter was really good, especially since we decided to go down the "Annotation" route which a lot of people do not really like (me included). Relying on a single class for the configuration seems a bit limited but traits will come in pretty handy. Let me show you what I mean.
For years I speak at conferences about Dependency Injection. 5 years ago at pfCongres 2010, I started my speaking career with talking about Dependency Injection in the real world. Today, 5 years later am I am finally able to push our own implementation to Github. This is a completely different version compared to what I talked about 5 years ago but still it might be useful for some of you.
Prophiler is a PHP Profiler & Developer Toolbar which is part of the Phalcon project but can also be used as a stand-alone component, kind of like the Symfony Web Debug Toolbar or Z-Ray. What I like about Prophiler is that on the one hand it is super easy to install and on the other hand it offers a few nice adapters (e.g. PSR-3 logging or Doctrine integration) out-of-the-box.
Last week I gave my Composer for corporate use presentation at the code.talks 15 conference im Hamburg. In the section of my talk where I highlight how to work on multiple packages the same time (e.g. two applications sharing the same core functionality) I pointed to the audience to path repository feature of Composer. Unfortunately right after my session I began to realize that this is indeed the best feature we have out there when it comes to working on multiple packages the same time and to avoid the Satis or ToranProxy round trip. This is how it works: Add the following lines to your root composer.json file:
Recently I played around with Sculpin. Pretty quickly I ran into an issue: I created a custom data type called events and wanted to sort the events by date. It seemed not possible as I could not figure out how to influence the sorting order in my twig template. By accident, I came across this issue on gihub in which Beau Simensen explains how to influence the sorting of the records. In a nutshell this is how it works: Create a file app/config/sculpin_services.yml:
Vom 13.10.2015 bis zum 16.10.2015 findet in Berlin die Konferenz SymfonyLive Berlin 2015 statt. Ich freue mich dabei zu sein und meinen Vortrag "Microservices: Klein aber oho!" präsentieren zu können.
Being a good citizen of the PHP community we do test out internal libs against the current PHP7 codebase. So far we had no issues but then at one day one of our Jenkins PHP7 jobs failed. After investigating a bit it turned out that the problem was not part of our codebase but part of of pdepend. The pdepend process died with the error message that "T_CHARACTER and T_BAD_CHARACTER are no longer defined" which is true. The error was already reported as an issue on Github. As I do not like broken jobs in Jenkins I was looking for a fix which in the end was pretty easy. The basic idea was to skip the execution of pdepend in our Phing script when running on our PHP7 buildnodes.
Vom 19.10.2015 bis zum 22.10.2015 findet in Las Vegas die Konferenz ZendCon 2015 statt. Ich freue mich dabei zu sein und meine Vorträge "Micro Services: Packs small, plays BIG!" und "HTML5 offline mobile apps: Real world insights" präsentieren zu können.