Cakephp 3 ajax, json

Hi I am new in this, and I need you help with construction project with insert for ajax and list data, I don’t know how?

someone has an example of ajax for cakephp 3 where to place every thing to add and list and js ?

I had read cookbook but I don’t understand nothing



I suggest you to have a look at FriendsOfCake/Crud Plugin. And specially the API listener. With this Plugin you can pass a JSON to the controller (/users/add.json) via POST and it will create automatically the data for you.


See this french tuto =>

Good luck :wink: