It should be possible to use CrudView with the Webservice plugin. For this quite a few things have to happen.
Some of the things that need to change:
It might be necessary to change the CakePHP core to add more methods to specific interfaces. Some of the things that need to be made:
It should be possible to use CrudView with the Webservice plugin. For this quite a few things have to happen.
Some of the things that need to change:
\Cake\Datasource\RepositoryInterfaceMake search manager use RepositoryInterface instance instead of Table. FriendsOfCake/search#79\Search\Model\Behavior\SearchBehaviorneeds to be somehow compatible with\Muffin\Webservice\Model\Endpointclasses. Possibly by using traits. Interesting PR: Could we implement addBehavior()? cakephp/elastic-search#83.\Search\Model\Filter\Value). Currently the only way to use Search is to use the\Search\Model\Filter\Callbackfilter.\Cake\Datasource\EntityInterface(for example in theCrudViewHelper)\Muffin\Webservice\Queryneeds to have thecontainmethod\Muffin\Webservice\Endpointrequires some notion of defining associations.It might be necessary to change the CakePHP core to add more methods to specific interfaces. Some of the things that need to be made:
\Cake\Datasource\AssociationInterfaceto describe a general association between twoRepositoryInterfaceimplementations. [RFC] [3.3] Add support for associations in custom datasource cakephp/cakephp#9002.