5

Use the eZ JavaScript Client (CAPI) for a headless CMS implementation

 3 years ago
source link: https://www.symfony.fi/ez-platform-tip/use-the-ez-javascript-client-capi-for-a-headless-cms-implementation
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Use the eZ JavaScript Client (CAPI) for a headless CMS implementation

eZ Platform ships with a comprehensive REST API. The API has been around for quite a few years and is one of the most robust ones out there. In eZ Platform the UI itself largely utilises the REST API, but it does not do this directly - rather it uses an abstraction layer for this.

This abstraction layer is known as the CAPI and it adds a layer of abstraction when working with the eZ Platform REST API. Instead of writing raw HTTP requests in your application, you will rather use the JavaScript Client API to make queries as you would with the Public PHP API from within Symfony Applications.

Below in a view you can find an example video displaying how the eZ Platform JavaScript CAPI can work together with the React.js view library:

The source code for the application displayed above can be found on GitHub: https://github.com/janit/ez-react-todo

Learn more:


Written by Jani Tarvainen on Sunday September 25, 2016
Permalink -

« eZ Platform Field Type gotcha: No type registered for... - A GraphQL enabled CaaS (Content as a Service) platform »


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK