Run Drupal as a service to allow non-http based API Initiative

Created on 13 May 2016, about 9 years ago
Updated 31 May 2025, 8 days ago

Background

Drupal 8 has so far seen many major improvements to alternative ways to access data through the inclusion of REST in core. In an environment where Drupal may be increasingly accessed by means other than http, we will need a way to allow other systems to more easily access, in real time, content managed by drupal and cause actions within drupal. We propose an initiative with goals to improve in this area by including new experimental core functionality.

A big focus for this initiative will be to get the necessary sign-offs ahead of time in order to make it possible (and sustainable) to work toward the big end goals of this initiative.

Goals

We need to strategize around this. Right now I am researching running Drupal as a service or daemon that would allow alternate access endpoints to be managed. I am not sure this is the best solution for this, but it is the best thing I can think of at this time --suggestions are welcome.

Other strategies:

  • SDK that can access Drupal's data but is otherwise self-contained.
  • ... We need more of these.

Must have

Access points for systems inside and outside of php to access Drupal's systems and cause events and reactions within drupal. This could take the form of Drupal running a websocket endpoint, or a socket connections, or MQTT connection. The specifics are not important and the actual connection needs to be able to be handled in core. Drupal needs to facilitate this and manage the safe starting and stopping of the connection.

Should have

One (or more) connection endpoint out of the box and SDKs that support that endpoint for different development environments.
Suggested list of supported SDKs:

  • PHP
  • Javascript
  • Nodejs
  • Swift
  • Java (android)

Could have

More supported endpoints and SDKs out of the box.

  • C#
  • Elixir
  • Ruby

Signoffs needed from contrib maintainers

Thanks to the Content Workflow Initiative. I took much of the structure of this from that post.

🌱 Plan
Status

Active

Version

11.0 πŸ”₯

Component

other

Created by

πŸ‡ΊπŸ‡ΈUnited States frob US

Live updates comments and jobs are added and updated live.
  • Needs framework manager review

    It is used to alert the framework manager core committer(s) that an issue significantly impacts (or has the potential to impact) multiple subsystems or represents a significant change or addition in architecture or public APIs, and their signoff is needed (see the governance policy draft for more information). If an issue significantly impacts only one subsystem, use Needs subsystem maintainer review instead, and make sure the issue component is set to the correct subsystem.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    The Ideas project is being deprecated. This issue is moved to the Drupal project. Check that the selected component is correct. Also, add the relevant tags, especially any 'needs manager review' tags.

    Changing to the standard issue template β†’ would also help other contributors.

Production build 0.71.5 2024