LearningTech

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:
    def __init__(self):
        pass

    def execute(self):
        print('Executing Headless Architecture')