[Flow] Implementing an REST-Interface with Flow 2.0
Bastian Waidelich
bastian at typo3.org
Wed Jul 17 12:53:16 CEST 2013
Volker Brückner wrote:
Hi Volker,
> at the moment i'm trying to implement some kind of REST-Interface as
> centralized storage for different clients (Smartphone, Win-Client).
> I would like to use Flow 2 because in the next few months i have to
> implement a new TYPO3-based website with an interface to fill the CMS by
> an Windows-Database/Application. So this small REST-Interface should
> give me some practice in working with the Flow Framework.
Good to hear. With Flow 2.0 it will be a lot easier to create REST
services [1].
I'm currently writing a little tutorial but I still struggle with some
"best practices" the REST community seems to discuss about.
For instance: What protocol format should be used? For a proper REST
service one should work with a media type that provides support for
"HATEOAS" (such as HAL[2], JSON API[3] or OData[4]) but that would
increase the complexity of a tutorial..
What is your opinion? Or do you already have a requirement for the format?
[1] http://forge.typo3.org/issues/45088
[2] http://stateless.co/hal_specification.html
[3] http://jsonapi.org/
[4] http://www.odata.org/
Best
--
Bastian Waidelich
--
Core Developer Team
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the Flow
mailing list