Tuesday 24 April 2018

How to use WordPress Gutenberg with REST API to build Apps


Gutenberg introduces a New JavaScript Framework While WordPress has always relied somewhat on Backbone as a JavaScript framework for certain parts of the admin (mainly the media uploader), Backbone is an old framework that not many adopt for new projects any longer. With Gutenberg and this new editor, WordPress is getting React which is a state of the art, new-age JavaScript framework that many larger companies are using to build our their web and even native apps.
This is great, WordPress is moving forward, however this is just to build out the actual editor. So building the new blocks is great, you get to use the latest in technology like React, webpack, etc to build out your blocks and thus creating a customized UI within the new editor to meet the needs for your team that uses WordPress.
A New Way to Write Content
For users, bloggers, editorial teams, etc. Gutenberg is a new way to think about how to write content. Instead of a wall of text, content will be built using “blocks”. Like Legos, each block will be unique whether it is a different type of block, or just different data. I’m writing this blog post pre-Gutenberg, or using the current “classic”
Source: https://managewp.org/articles/17360/how-to-use-wordpress-gutenberg-with-rest-api-to-build-apps



source https://williechiu40.wordpress.com/2018/04/24/how-to-use-wordpress-gutenberg-with-rest-api-to-build-apps/

No comments:

Post a Comment