These are chat archives for ppi/framework

22nd
Feb 2016
Vítor Brandão
@noisebleed
Feb 22 2016 01:00
You should use app/config to store configuration. Any special reason for using index.php directly?
Paul Dragoonis
@dragoonis
Feb 22 2016 08:31
@alfrekjv app config file. Datasource key
Paul Dragoonis
@dragoonis
Feb 22 2016 11:41
$config[‘datasource’] = include DIR_ . ‘/datasource.php’; as an example
I recommend the .yml format though, with “import” :)
Plenty of examples of this on the docs
Matthieu Napoli
@mnapoli
Feb 22 2016 21:07
Hi @dragoonis, I don't know if you remember but we discussed here about container-interop and how ContainerInterface was great to decouple a framework from a container, but not so useful when trying to write a module system (like Symfony bundles for example). We've been working on that lately, and if you (or anybody else) have feedback about it we'd be very interested. See the project with a little bit of documentation: https://github.com/container-interop/service-provider
we want to get a first shot of feedback, then if it's good take it to the FIG mailing list
Paul Dragoonis
@dragoonis
Feb 22 2016 21:12
@mnapoli how can i see the progress of what you have been doing ?
Matthieu Napoli
@mnapoli
Feb 22 2016 21:13
the first paragraph should give an introduction
we were working on that before: https://github.com/container-interop/definition-interop (that's the last thing we showed to the FIG), but it was complex, with the new approach the goal is to be much simpler, but also as much (or even more) flexible
Paul Dragoonis
@dragoonis
Feb 22 2016 21:28
@mnapoli I’ve been reading service-provider
There’s some problems with it
Where do I leave feedback.
Matthieu Napoli
@mnapoli
Feb 22 2016 21:29
open issues, we'll discuss through it!
Paul Dragoonis
@dragoonis
Feb 22 2016 21:40
@mnapoli done - container-interop/service-provider#5