Headless Drupal

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.

We want Drupal to be the CMS of choice for client-side MVC frameworks.

We want an API for renderable structure and context-aware template-driven JSON representations of pages.

The intention of this working group is to discuss how Drupal core should change for the ability for many different presentation layers to interact with Drupal, especially client-side frameworks, not just Drupal's own theme system.

We are working on drafting a manifesto on GitHub.

For some background, see Notes and Discussion from DrupalCon Austin.


Our todo list to get to robust RESTful client interaction support

  1. Document the current REST API
    • Maybe use something like Apiary
  2. Verify that we have PATCH support and that we can make individual field updates
  3. Implement OPTIONS support
  4. Create a benchmark implementation on a popular framework like Angular or Backbone
  5. Support retrieval of specific content entity views over REST
  6. Support retrieval of specific content entity edit forms and fields with widgets over REST
  7. Support linking and mapping of associated templates when retrieving of specific content entity views over REST
  8. Develop a cache-busting file name fingerprinting strategy so that templates and other resources retrieved from entity links can be versioned

ashrafabed's picture

New Beginner, Intermediate, & Advanced Live Drupal+React Training Classes

Start: 
2020-06-12 09:15 - 2020-06-17 16:15 America/New_York
Organizers: 
Event type: 
Training (free or commercial)

Debug Academy, an Acquia training partner founded by an Acquia Certified Grand Master, is pleased to share a number of new, inclusive, and accessible course offerings. The classes are taught by a team of multiple Acquia Certified Developers, including an Acquia Certified Grand Master.

These are the classes I always wanted but could not find throughout my career as a Drupal developer.

Read more
prestonso's picture

Decoupled Days 2019

Start: 
2019-07-17 08:00 - 2019-07-18 17:00 America/New_York
Organizers: 
Event type: 
Drupalcamp or Regional Summit

Decoupled Days is the premier conference on the future of content management systems and their architectures.Decoupled Days is a software conference for architects, developers,and businesspeople involved in implementing decoupled, headless, or services-oriented architectures using content management systems.

The conference is in its third year after asuccessful debut in 2017. The 2019 edition is scheduled for July 17–18, 2019 in New York City.

Read more
wdev's picture

Weather API Drupal 8

Is there any contrib module for whether and what should be in whether API for drupal.

Read more
dwanta's picture

My headless implementation

Hello,

I created a module that served headless pages through javascript, and then I modified it so drupal can run as a service with full drupal, at the same time as serving headless. I did a case study if any one wanted to take a look!

https://www.drupal.org/case-study/bunny-farm

Read more
rteijeiro's picture

Drupal Surf Camp

Start: 
2018-06-30 10:00 - 2018-07-01 20:00 Europe/Stockholm
Organizers: 
Event type: 
Drupalcamp or Regional Summit

Drupal Surf Camp will take place the weekend before Drupal Developer Days in Lisbon. We are thinking on the weekend of Saturday 30th of June and Sunday 1st of July, just before the conference.

Come to the (maybe) first Drupal Surf Camp ever and learn surfing while you hang out with other Drupal folks that are attending Drupal Developer Days as well.

Read more

BlockForm / Add More Field with autocomplete

I share with you an example about how you create a block form and manager data with multiple field ( autocomplete ) :

  1. This class for block form "a la une"

<?php

namespace Drupal\mm_content\Plugin\Block;

use Drupal\Core\Block\BlockBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\node\Entity\Node;

/**
* Provides a 'ALaUneBlock' block.
*
* @Block(
* id = "ala_une_block",
* admin_label = @Translation("A la une block"),
* )
*/
class ALaUneBlock extends BlockBase {

/**
* {@inheritdoc}
*/
public function defaultConfiguration() {

Read more
prestonso's picture

Decoupled Drupal Days 2018

Start: 
2018-08-17 08:00 - 2018-08-19 17:00 America/New_York
Organizers: 
Event type: 
Drupalcamp or Regional Summit

Decoupled Drupal Days (D3) is a developer-focused conference for architects, developers, and businesspeople involved in implementing decoupled Drupal architectures. The conference in its second year after a successful debut in 2017. The 2018 edition is scheduled for August 17–19, 2018 at John Jay College of Criminal Justice in New York City.

Read more
vickey's picture

When is Custom entity needed in Drupal 8?

Drupal 8 core has entities like node, user, taxonomy..etc., which helps to process different types of data based on their usage.

Likewise, we can create custom entity to maintain structured data like customer data, inventory data, products data..etc.,

When is Custom entity needed in Drupal 8?

1) When there are requirements for huge number of fields.
2) When exposing data to different applications. The "UUID" generated will be used as reference for each entry to other applications.

Read more
dougvann's picture

Progressive Decoupling w/ Angular. Who's doing it & what's your experience?

Hey all,
I've been having some succes with the PDB module https://www.drupal.org/project/pdb
The module does exactly what I need which is allowing me to insert Angular Components as Drupal Blocks.
At BADCamp last weekend, PDB author, Matt Davis, reminded me that the last commit was almost a year ago. I received that as an indication that no one should expect any ongoing work on this project.

Is anyone progressively decoupling D8 w/ Angular 2,3,4, or 5?
If so, are you using PDB or something custom?

Read more
lastlink's picture

Angular Separate Domain Drupal simple web app

I have been working on a simple web app trying to decouple a cms to use a different front end on different domain.

The goal of the app was to be a gameroom lobby that would display gameservers, how many players they had, a link to them. These would then be editable by the gameserver itself w/ players having to login to see the lobby.

I was able to setup a drupal enabled the api, test the calls through postman and vscode rest client. I got login, logout, create, and update content to work from these clients.

Read more
prestonso's picture

Decoupled Developer Days 2017

Start: 
2017-08-19 08:00 - 2017-08-20 17:00 America/New_York
Event type: 
Drupalcamp or Regional Summit

Decoupled Developer Days (D|DD) is a small developer-focused conference for architects, developers, and businesspeople involved in implementing decoupled Drupal architectures. The 2017 edition is scheduled for August 19–20, 2017 in New York City.

Decoupled Drupal is the use of Drupal as a content service for other non-Drupal applications, whether they are in native desktop or mobile, universal JavaScript, set-top boxes, IoT devices, conversational interfaces, or other technologies.

Mission

Read more
Hadi Farnoud's picture

Using headless drupal with Node.js

has anyone used Headless drupal with Node.js? I'm thinking of converting فروشگاه ساز to headless drupal for ease of adding content and managing our landing pages.

this way I can even manage multiple sites (i.e. our landing pages/ blogs/ etc.) from one Drupal instance whilst keeping the frontend flexible.

Read more
ranjithraj's picture

Drupal8 Corporate Training: Run-up event for DCH2017

Start: 
2017-03-04 08:00 - 18:00 Asia/Kolkata
Organizers: 
Event type: 
Training (free or commercial)

Summary:

  • Full day Hands on training
  • Installation of Drupal 8 and setting up tools
  • Writing a custom module
  • Entity API
  • Hooks, Plugins & Events
  • Symfony - Services & Dependency Injection

If time permits:

  • Theming - Twig, Render API
  • REST with Drupal 8
  • Angular 2 with Headless Drupal
  • Native mobile app development using Ionic 2/Cordova

Note: Pre-requisites:

  • Good knowledge of Drupal 7
Read more
ranjithraj's picture

Decoupling Drupal: Mobile Apps Development using Drupal 8+Ionic Framework

Start: 
2017-02-18 10:00 - 18:00 Asia/Kolkata
Event type: 
Training (free or commercial)
Read more
ranjithraj's picture

DrupalCamp Hyderabad 2017

Start: 
2017-03-05 09:00 - 17:00 Asia/Kolkata
Event type: 
Drupalcamp or Regional Summit

Drupal Hyderabad community is excited to announce DrupalCamp Hyderabad 2017. Event scheduled on Sunday, March 5th. Full day paid training on Drupal 8 scheduled on March 4th, Saturday.
Registration: https://2017.drupalhyderabad.org

Important dates:
03 Feb 2017: Registration and ticket booking starts
03 Feb 2017: Call for papers starts
12 Feb 2017: Call for volunteers and volunteer meet
15 Feb 2017: Call for papers ends
20 Feb 2017: Announcement of final schedule of DCH2017
03 Mar 2017: Registration and ticket booking ends

Read more
ranjithraj's picture

Decoupling Drupal: Connecting with external web services

Start: 
2017-02-04 14:00 - 17:00 Asia/Kolkata
Event type: 
Training (free or commercial)

What is Decoupled Drupal?
We would like to hear from you, let us know what you know about decoupled drupal in comments section.

Speaker: Animesh Cherala, Developer at ThoughtWorks Hyderabad.
Host: Swecha, NPO dedicated to promote Free Software/FOSS. www.swecha.org
Address: Swecha office, Gachibowli X roads, Hyderabad.
Limited seats: Only 200. First come first reserved. :) | Free Training

Recommended readings:
http://buytaert.net/how-should-you-decouple-drupal
https://www.drupal.org/docs/8/core/modules/rest/overview

Keep watching this event for further updates

Read more

Different ways of installing/deploying Drupal

Content is simultaneously being developed at ' https://en.wikiversity.org/wiki/Drupal/Installation ', keep watching this space.

Read more
florsita's picture

Headless implementation for Open Social extension

Hi there! I'm new to Drupal and Headless implementation, so, forgive newbie questions. Has anyone any experience with implementing social communities in a Headless implementation? In particular, looking to use Open Social extension and would like to be able to create a custom UI for it. Does anyone have any thoughts?

Thanks so much in advance!
M

Read more
Mandakini_Kumari's picture

Headless - Edit and Reply Comment - Service URL & Request data

I am working on headless application. Need to build comment using drupal 8.

I am able to call web service for Add, Delete and List comment but not able to find appropriate URL and sample Request data for Edit and Reply Comments

Below is working for me:
Post Comment:
URL: {URL}:{PORT}/entity/comment?_format=json
Delete Comment
URL: {URL}:{PORT}/comment/{cid}?_format=json

Need help in D8: Need URL and sample Request data for below 2 web services for
Edit Comment
Reply Comment

Read more
tony.stecca@virtualhighschool.com's picture

Help Starting a Headless Drupal System

Hi,

my name is Tony. I work for a large online high school. We deliver all of our content as static HTML pages via a learning management system.

We are currently designing a new content and content delivery system and are interested in using JSON objects to represent our pages drupal to store the objects. After some research it appears that this approach is already in use by some organizations and is called headless drupal.

Read more
Subscribe with RSS Syndicate content