jrtderonde Posted November 21, 2018 Share Posted November 21, 2018 Hey, I recently started working at a new agency where I'll be developing mostly back-end projects. One of my colleagues has introduced me to GraphQL. We're currently using Wordpress in combination with ACF but as I was google-ing I stumbled upon a post in which I saw a GraphQL module for PW, awesome! I think the agency wants to start moving towards a workflow in which we will use a CMS "headless". We build up pages using flexible content (or "Repeater Matrix") and I was wondering if anyone has any experience in using the pro matrix in combination with either graphql or rest api. Ultimately we would be looking to implement GraphQL as it's so fast and dynamic. Looking forward to hearing from your experiences ? Link to comment Share on other sites More sharing options...
Gideon So Posted November 21, 2018 Share Posted November 21, 2018 Hi, Welcome to the forum. The graphql module doesn't support repeater or repeater matrix as far as I know but Processwire is definitely able to be a headless CMS. Gideon Link to comment Share on other sites More sharing options...
Ivan Gretsky Posted November 21, 2018 Share Posted November 21, 2018 Hey, @jrtderonde! If you have some money to spend, maybe you could approach @dadish and hire him to modify his GraphQL for ProcessWire module to handle Repeaters and Repeater Matrix fields? If you decide to make it open source, this would be an amazing contribution to the community. I also tend to use the RepeaterMatrix as a flexible content builder ?. Suggesting this because you talking about agency and long term plans. 4 Link to comment Share on other sites More sharing options...
eelkenet Posted November 21, 2018 Share Posted November 21, 2018 While it is not an 'out of the box' solution, it is perfectly possible to for instance to use the RestAPI module to parse any bit of content, such as (items from a) repeater matrix. Just like when you would write your regular template logic, it does require some custom programming on your end though: you will have to go through the matrix' items and decide how they should be presented through your API. Which is exactly the flexibility which makes PW our go-to solution for pretty much any modern (headless) webapp or old-school site! ? 5 Link to comment Share on other sites More sharing options...
jrtderonde Posted December 4, 2018 Author Share Posted December 4, 2018 Sorry for my late response but thanks for all your messages. I'll look into the possibilities to develop this myself. If there's anything new from my side, I will keep you guys posted. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now