Just started fumbling with ATK4. I’d like to use it both as a backend API (if possible) as well as to create a small CMS based on the same data the API will work with. The API will be accessed by browser plugins so no rendering will be done by ATK4.
So basically my question is, does ATK4 come with support for creating your own REST API or would I basically have to create this functionality myself? I’ve found the API docs but they seem focused on making API methods in service of the rendering “engine”.
In case I should make this myself, what’s the best way of implementing this on ATK4? (in terms of future compatibility).
Thanks
There is a straightforward way to solve that and a generic way.
The straightforward way is as simple as this:
The more sophisticated solution consists of building the following items:
I have implemented this on one occasion, but I’ll need to negotiate with my client to make sure I can donate the code to atk4-addons.
Currently I would suggest you to go the “straightforward” route until the generic API is released.