Headless Drupal

Events happening in the community are now at Drupal community events on 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

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

Posted by ashrafabed on June 3, 2020 at 7:51pm
Start:
2020年06月12日 09:15 - 2020年06月17日 16:15 America/New_York
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

Decoupled Days 2019

Posted by prestonso on April 12, 2019 at 9:27pm
Start:
2019年07月17日 08:00 - 2019年07月18日 17:00 America/New_York
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
Categories:

My headless implementation

Posted by dwanta on August 19, 2018 at 12:06am

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

Drupal Surf Camp

Posted by rteijeiro on April 28, 2018 at 12:35am
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

Posted by kamalMaroc on April 23, 2018 at 9:56am
Last updated by kamalMaroc on Mon, 2018年04月23日 09:58

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

Decoupled Drupal Days 2018

Posted by prestonso on April 18, 2018 at 10:35pm
Start:
2018年08月17日 08:00 - 2018年08月19日 17:00 America/New_York
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
9 comments1 attachment Categories:

When is Custom entity needed in Drupal 8?

Posted by vickey on April 3, 2018 at 6:01pm

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

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

Posted by dougvann on October 25, 2017 at 6:29pm

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

Angular Separate Domain Drupal simple web app

Posted by lastlink on July 1, 2017 at 9:19pm

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

Decoupled Developer Days 2017

Posted by prestonso on June 15, 2017 at 1:45pm
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

Using headless drupal with Node.js

Posted by hadi farnoud on April 26, 2017 at 2:43pm

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

Drupal8 Corporate Training: Run-up event for DCH2017

Posted by ranjithraj on February 19, 2017 at 1:32pm
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
1 comment Categories:

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

Posted by ranjithraj on February 6, 2017 at 8:55am
Start:
2017年02月18日 10:00 - 18:00 Asia/Kolkata
Event type:
Training (free or commercial)
Read more

DrupalCamp Hyderabad 2017

Posted by ranjithraj on February 3, 2017 at 3:34pm
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

Decoupling Drupal: Connecting with external web services

Posted by ranjithraj on January 23, 2017 at 3:24am
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

Posted by ranjithraj on January 22, 2017 at 5:19am
Last updated by ranjithraj on Sun, 2017年01月22日 05:23

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

Read more

Headless implementation for Open Social extension

Posted by florsita on November 17, 2016 at 2:27am

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

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

Posted by Mandakini_Kumari on August 3, 2016 at 12:21pm

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
Categories:

Help Starting a Headless Drupal System

Posted by tony.stecca@vir... on June 23, 2016 at 4:20pm

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
2 comments Categories:

Help Starting a Headless Drupal System

Posted by tony.stecca@vir... on June 23, 2016 at 4:20pm

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
18 comments Categories:
Categories:
Subscribe with RSS Syndicate content

Headless Drupal

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /