Forest header image

Symfony Finland
Random things on PHP, Symfony and web development

A GraphQL enabled CaaS (Content as a Service) platform

eZ Platform is a capable content management system with a flexible and powerful data model. The application already exposes a comprehensive REST API to developers for decoupling using a headless approach to site development.

But as we've all come to know REST APIs vary greatly in their function and form. This is why many believe that GraphQL will replace REST for many cases:

GraphQL is based on one of those ideas that make obvious sense once you hear about it: let clients specify their own data needs against the capabilities exposed by a server. Gone is the mess of relying on an ever expanding set of predefined REST endpoints to cover all bases, because GraphQL exposes one endpoint that returns the exact data you ask for in a single structured response.
- Why I believe GraphQL will come to replace REST

With the recent introduction of GraphQL to eZ Platform and the ecosystem, eZ Platform is now a potent choice for running a fully featured and easily accessible Content as a Service (CaaS) platform.

If you host your content on eZ Platform and the recommended managed hosting Platform.sh, you can enjoy the best of both worlds. You get a reliable zero-maintenance environment to host your cotnent in, but in addition you get the freedom to integrate and extend the backend.

So the next time you are looking for a backend for your content, instead of proprietary services like Contentful, it's worth taking a look at what eZ Platform and the Symfony Framework could offer you. With GraphQL it's easier than ever to make sure that your front end is truly decoupled from your CMS, even on a protocol level.


Written by Jani Tarvainen on Tuesday October 11, 2016
Permalink -

« Use the eZ JavaScript Client (CAPI) for a headless CMS implementation - Facebook sharing metadata for eZ Platform with Open Graph Bundle »