How to make a decentralized WordPress website

PoP – Platform of Platforms is a WordPress framework which aims to break the information monopoly of large Internet corporations by linking autonomous WordPress websites together, allowing them to interact with each other and become part of a wider network composed of different communities. Users from different websites can interact among themselves, without the need to join a centralized service such as Facebook or LinkedIn. This way, website owners can keep control of their own data, storing it on their own servers.

PoP works by combining WordPress and Handlebars into an MVC architecture framework, in which WordPress is the model/back-end, Handlebars templates are the view/front-end, and the PoP engine is the controller. Acting as the controller, PoP intercepts WordPress’ data query results, generates a response in JSON, and feeds this JSON code to Handlebars to be transformed into HTML.

The PoP engine automatically provides the WordPress website of its own API, removing the need to implement additional server-side applications for providing data to third-party websites, mobile phone apps, etc. Because the API is known to all PoP websites, they can fetch data from each other in real time, allowing for decentralization of a website’s data sources, or aggregation of multiple websites’ data into a wider network.

Applications for a PoP network are multiple. For instance, it could enable an economy of micro-payments to take place, thus compensating anyone for their original material posted on the web. Each node on the network could decide to give its content for free to its aggregators, or charge a fee for it. The node could then use these proceedings to pay those users who contribute content to it.

Speaker

Über leoloso

Creator of Gato GraphQL. Contributing writer for Smashing Magazine, CSS-Tricks, the LogRocket blog, and other tech-related online magazines.