These are chat archives for ppi/framework

10th
Dec 2015
Ross Moroney
@code-ph0y
Dec 10 2015 00:11
???
Paul Dragoonis
@dragoonis
Dec 10 2015 00:11
pong
Ross Moroney
@code-ph0y
Dec 10 2015 00:11
Anyone know whats happening with the datasource?
Paul Dragoonis
@dragoonis
Dec 10 2015 00:12
Can you elaborate on your question?
Ross Moroney
@code-ph0y
Dec 10 2015 00:12
yeah I mean what direction its going in?
I have been fixing problems with it
Paul Dragoonis
@dragoonis
Dec 10 2015 00:13
I assume you’re referring to PPI 2.0 datasource? with ActiveRecord style?
Ross Moroney
@code-ph0y
Dec 10 2015 00:13
how do you refer to it on getServiceConfig
Paul Dragoonis
@dragoonis
Dec 10 2015 00:14
I believe it’s $sm->get(‘datasource’) - but PPI\App sets it, so it should be able to tell you.
Ross Moroney
@code-ph0y
Dec 10 2015 00:14
nope 2.1
ConnectionManager
Paul Dragoonis
@dragoonis
Dec 10 2015 00:14
Link me to something concrete.
Ross Moroney
@code-ph0y
Dec 10 2015 00:15
do you require the datasource-module module
Ross Moroney
@code-ph0y
Dec 10 2015 00:15
in composer?
Paul Dragoonis
@dragoonis
Dec 10 2015 00:15
Yes, you require the datasource-module. In your PPI application
@rossmoroney direction wise, it works as is and we aim to add more adapters into it. If you have fixes to make then feel free to send a pull request
Ross Moroney
@code-ph0y
Dec 10 2015 00:17
two secs to I use the app/console for something
sorry just looking up stuff
whats the datasource service for?
PPI\Framework\ServiceManager\Factory\DataSourceFactory
Ross Moroney
@code-ph0y
Dec 10 2015 00:27
ahhh ok! I missed the return statement when I looked it over
does the master version of the skeletonapp composer file not need the require for the datasource then?
Paul Dragoonis
@dragoonis
Dec 10 2015 00:31
datasource-module requires datasource.
Just type this
php composer.phar require ppi/datasource-module
Ross Moroney
@code-ph0y
Dec 10 2015 00:39
done ... what does the base storage file like to now?
also think theres a typo
ConnectionInferface
?
link*