Hi Martin, You could learn about the custom datasources in CakePHP 3? I need to get information about this.
Regards El domingo, 31 de mayo de 2015, 18:39:15 (UTC-3), Martin escribió: > > Hi, > > For my current project I need to load data from different locations via > API's. I think the best way to do this is to create datasources for it. > Sadly I see there is nothing about datasources in the cakephp 3 book (only > the text that is can be extended with alternative datasources). > I also see there is no folder for datasources in the 'src' folder of the > app. So where should I put my datasource? > > I've find an older topic where is mark_story said "Instead custom > datasources that don't use sql should provide an implementation of the > RepositoryInterface, a query builder and possible a specialized entity > object. " (https://groups.google.com/forum/#!topic/cake-php/UDDArIYV0nM) > > I'm using https://github.com/cakephp/elastic-search as example. but it > should be nice if there was a simple example for a custom datasource. and > maybe some default features for making a custom datasource easier. I think > this is a big missing feature in cakephp 3 at the moment. > > So My question is: Are there plans for better support (and documentation) > for custom datasources? And is there a easy example how to create one? and > How are other developers doing this at the moment? I think it is strange to > make a component for receiving data. > > Greetings, > Martin > > > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
