Purpose

In Wonderful Relations, Services provide a structured way to define and manage different functionalities within a dashboard. They act as configurable building blocks that determine what features are available, how they behave, and who can access them. Since Wonderful Relations is built using its own framework, Services are used internally as well, ensuring a consistent and scalable architecture.

By defining Services, dashboards can be easily customized, structured, and restricted based on user permissions.

Visual Example

Example: Service Entities

Example: Resulting Dashboard

Parameters

Title

The display name of the service.

Project

Associates the service with a specific Wonderful Relations Project.

Identifier

A unique key used for querying and referencing the service.

Icon

A FontAwesome icon used for visual representation in the dashboard.

Template

Defines the Template that should be used for rendering the service.

Active

Determines whether the service is enabled.

Hidden

Controls whether the service is visible in the dashboard.

Description

A brief explanation of the service’s purpose.

Sort Order

Defines the position of the service in listings and menus.

Group

Specifies which Groups have access to the service.

Use Cases

In Wonderful Relations, Services act as a structured way to organize access to various dashboard elements by linking them to Templates, Groups, and User Permissions. Rather than directly defining functionalities, Services serve as an entry point into Templates, which in turn contain features such as DataTables, Forms, Queries, and other interactive components.

This standardized approach is not only available for users but is also the foundation of how Wonderful Relations manages its own functionalities internally. By structuring all system elements through Services, we ensure a consistent, scalable, and maintainable framework for our own platform and our projects.

While users are free to design their own database structures, Services provide a built-in, efficient way to manage feature assignments, control access, and maintain a clear system architecture.

This approach allows for the rapid and flexible creation of custom dashboards, where different functionalities can be combined dynamically while keeping everything structured and manageable.

Conclusion

Services in Wonderful Relations offer a powerful way to structure dashboards, define available features, and control access at a granular level. With attributes such as identifier-based filtering, group access, and customizable templates, administrators can efficiently create tailored user experiences that align with specific project needs. 🚀