Hi,
i googled for an hour now but maybe my Google-Fu is just too weak, i couldn't find a solution.
I want to create an application that queries a service via JSON requests (all data and backend/business logic is stored in the service). With plain PHP it's simple enough since i just make a curl request, json_decode the result and get what i need. This already works quite well.
A request might look like this:
Call http://service-host/userlist
with body:
{"logintoken": "123456-1234-5678-901234"}
Get Result:
{
"status": "Ok",
"userlist":[
{"name": "foo", "id": 1},
{"name": "bar", "id": 2}
]
}
Now we want to get that into the Zend Framework since it's a hobby project and we want to learn about Zend. The problem is that all information i could find use a Database.
Is there even a way to create a Zend Project that does not use a Database? And how can i write a model that represents the actions instead of objects and object-relations?