Search⌘ K

Resource-oriented Client Architecture (ROCA)

Explore the principles of Resource-oriented Client Architecture to understand how it supports modular frontend integration. Learn how ROCA emphasizes RESTful URLs, stateless servers, server-side logic, and minimal client-side JavaScript to create secure, maintainable web applications that work well with microservices.

Modularization and integration in the frontend have an impact on the architecture and the technologies in the frontend. SPAs (single page apps) are not well suited for integration in the frontend. Therefore, the question arises as to which frontend architecture is better suited for integration.

ROCA (Resource-oriented Client Architecture) is an approach for implementing web applications. It focuses on established technologies such as HTML and leads to an architecture that comprises many benefits for frontend modularization and integration.

ROCA principles #

ROCA has a few principles. Let’s discuss each.

Adherence to REST principles #

The server adheres to the REST principles:

  1. All resources have an unambiguous URL.
  2. Links to web pages can be sent by
...