🤖 AI Summary
In highly customized scenarios, the information structure of headless CMSs is difficult to discover and model automatically, forcing practitioners to rely on error-prone, labor-intensive manual integration. Method: We propose a model-driven automation framework that, for the first time, enables automatic schema discovery, explicit metamodeling, and platform-agnostic middleware library generation for headless CMSs. Our approach integrates REST API semantic parsing with metamodel inference to construct a reusable middleware abstraction layer, supporting plug-and-play integration across multiple CMS platforms (e.g., Contentful, Strapi). Contribution/Results: An open-source implementation demonstrates that our framework significantly reduces human modeling error rates and cross-application integration costs, while improving both accuracy and efficiency in content interaction design.
📝 Abstract
Content Management Systems (CMSs) are the most popular tool when it comes to create and publish content across the web. Recently, CMSs have evolved, becoming emph{headless}. Content served by a emph{headless CMS} aims to be consumed by other applications and services through REST APIs rather than by human users through a web browser. This evolution has enabled CMSs to become a notorious source of content to be used in a variety of contexts beyond pure web navigation. As such, CMS have become an important component of many information systems. Unfortunately, we still lack the tools to properly discover and manage the information stored in a CMS, often highly customized to the needs of a specific domain. Currently, this is mostly a time-consuming and error-prone manual process.
In this paper, we propose a model-based framework to facilitate the integration of headless CMSs in software development processes. Our framework is able to discover and explicitly represent the information schema behind the CMS. This facilitates designing the interaction between the CMS model and other components consuming that information. These interactions are then generated as part of a middleware library that offers platform-agnostic access to the CMS to all the client applications. The complete framework is open-source and available online.