CakePHP 3 - Where is custom datasource?

前端 未结 2 1061
广开言路
广开言路 2021-01-21 01:08

I have a large number of CakePHP 2 web applications, many of them use remote data over the custom DataSource. I\'m reading the documentation of CakePHP 3, but I can not find ins

相关标签:
2条回答
  • 2021-01-21 01:35

    I was facing the same problem so I decided to write my own models in CakePHP 3.x. If you want you can use it from here. hope you like it.

    0 讨论(0)
  • 2021-01-21 01:53

    Just look at the code of any existing database driver and see how it is built? There is nothing in the book yet about how to create your own datasource.

    ArangoDB seems to be yet another NoSQL DB, so take a look at how this Elastic Search datasource is done. By a quick look I think you can use it as a base for your implemention, they seem to be similar.

    0 讨论(0)
提交回复
热议问题