Architecture

Headless Architecture

Description

Decoupling the frontend (head) from the backend (body). The backend just serves data via API.

Where to use

  • CMS.
  • \n
  • IoT.
  • \n
  • Multi-channel publishing.

Real World Example

Contentful (Headless CMS) serving content to a Website, a Mobile App, and a Smart Watch.

Code Example

class HeadlessArchitecture:\n    def __init__(self):\n        pass\n\n    def execute(self):\n        print('Executing Headless Architecture')