Blog

Anzeige der Einträge mit Tag 'Disco'

Converting DI config files to Disco configuration

Given you want to introduce Disco into a legacy project, you need to manually convert the existing DI configuration into Disco's class based configuration format. This requires you to have in-depth knowledge about the DI container format your project is using right now as well as some in-depth knowledge of Disco's configuration. Some examples to give you guidance for the conversion process can be found online in the disco-demos repository. But there is more, Andreas Heigl created a CLI tool called manero to help you to automatically convert existing DI configuration into Disco's class based configuration format. In the first step, manero is only able to convert Zend Expressive configurations. The current conversion process looks like this: First you need to clone the repo and create a .phar file of manero yourself:


mehr lesen...


Eintrag von Stephan Hochdörfer am 22.03.2018

Disco 0.10.0 - an exceptional release

It's been a while since the last Disco release. Over the last few months quite a few improvements have been made to the code, new features have been added and unfortunately some BC breaks had to be done. As always, find the BC breaks covered in the upgrade guide.


mehr lesen...


Eintrag von Stephan Hochdörfer am 20.03.2018

Why using code as DI config is a win!

In my recent talk on introducing Disco - the DI container with the damn coolest name(tm) - I talk about why I believe that using XML or any other non-code configuration (YAML, JSON, ...) is not a good idea. This stirred some twitter discussion recently which led to this blog post.


mehr lesen...


Eintrag von Stephan Hochdörfer am 24.07.2017

Disco 0.9.0

Last week we released Disco version 0.9.0 with a few new features and unfortunatly some BC breaks. The BC breaks are all covered in the upgrade guide, but I would like to discuss them in greater detail to give you a better understanding why those changes happened:


mehr lesen...


Eintrag von Stephan Hochdörfer am 23.06.2017

Disco goes PSR-11

Finally PSR-11 - the Container standard - got approved by the PHP FIG. To celebrate this fact I just merged a PR to make Disco PSR-11 compatible. The latest 0.8.0 release is compatible with the 0.7.0 relase. The only difference being that 0.7.0 relies on the container-interop standard and the 0.8.0 release relies on the PSR-11 standard.


mehr lesen...


Eintrag von Stephan Hochdörfer am 14.02.2017

Announcing Disco 0.6.0

Beginning of this week I was finally able to release a new version of Disco which comes with one major change besides from the fact that I rewrote the generator logic for the bean methods and fix a few edge-case issues in the bean creation process.


mehr lesen...


Eintrag von Stephan Hochdörfer am 09.11.2016

Announcing Disco 0.5.0

Yesterday I was finally able to release a new version of Disco which comes with 4 major changes that I want to highlight briefly in this blog post.


mehr lesen...


Eintrag von Stephan Hochdörfer am 02.09.2016

In-depth Disco introduction

One problem with releasing open-source components is that code is not the only thing you should care about. Without a decent documentation no one is able to use your component. Sad to say we are guilty as well, e.g. the documentation for Disco our annotation-based PHP Dependency Injection container lacks in in-depth documentation.


mehr lesen...


Eintrag von Stephan Hochdörfer am 03.07.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

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.