Headless Drupal

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

RajatTaneja's picture

Free Webinar on Truly Scalable eCommerce with Drupal Commerce

2015-09-02 21:30 - 22:30 Asia/Kolkata

In this webinar, we'll discuss specific examples of how the flexibility and scalability of Drupal Commerce can be used to support complex, high volume product catalogs that would be difficult to support using alternate technologies. We will also give an update on how we believe the Drupal Commerce modules will be improved for their Drupal 8 release.

Who Should Attend This?
- Drupal developers, managers and agencies building commerce sites with Drupal
- Business executives and decision-makers considering Drupal Commerce

Read more
Nemanja's picture

Headless drupal 8 + AngularJS + NodeJS

We are looking for the best way to create the authentication using Drupal 8 rest server, angular + nodejs...
We created drupal instance, angular app which is hosted on nodejs server, this way we have separated hosts. What we achieved is successful writing of data in drupal session table, but we cannot keep angular session alive... So what is the best way to do this?
Do you have any tips for integrating these technologies?
We would like when we log in to angular app and switch pages to keep the session alive on drupal and in ang. app...

venkatadapa's picture

Headless Drupal

Drupal is one of the world’s popular and widely used CMS frameworks. Drupal back-end system is very strong and can be used for managing any type of content like text, categories, media, geospatial etc.

The term Headless Drupal means, use Drupal as backend system and Rest server, so that content operations (create, read, update, delete) can be done from other language or tool. Drupal 8 comes with Rest Server included in its core. In Drupal 7 we can achieve this with a contributed module called Services or RestWS.

Read more
Anonymous's picture

Hierarchical multi level multi select dropdown menu

I am urgently looking for a hierarchical multi level multi select dropdown menu similar to the Drop Button 2 at http://www.bosin.net/ng/index.html or does someone know whether we can implement this menu on Drupal ?

Anonymous's picture

Hierarchical multi level multi select dropdown menu

I am urgently looking for a hierarchical multi level multi select dropdown menu similar to the Drop Button 2 at http://www.bosin.net/ng/index.html or does someone know whether we can implement this menu on Drupal ?

tyler.frankenstein's picture

Angular JS Module for Drupal

I've created an Angular JS module for Drupal 7. It has full C.R.U.D. support for Drupal's core entity types, session authentication (login, logout, registration) and entity indexing. It automatically handles the X-CSRF-Token needs, and is built on top of the Services module.

The source code is available on GitHub:


It's also available via npm:

npm install angular-drupal

The plan is start an 8.x branch of this module when D8 RC1 is available. Enjoy!

littleM's picture

Silicon Valley Drupal Users Group

2015-05-27 19:00 - 21:00 America/Los_Angeles

For those who missed DrupalCon LA, this will be a review of the conference, highlights, and information on where to find presentation materials.

This will be at the GoDaddy offices, 1020 Enterprise Way, 3rd floor, Sunnyvale, CA. You need to call the number on the door to get access. In addition to the DrupalCon report, Christoper Carfi will be presenting GoDaddy Pro, and there will be a drawing for a free year of GoDaddy hosting.

Check out the Meetup page for more info.

R.J. Steinert's picture

DrupalCon LA Sprint: REST module documentation and "Hello World" Examples of Headless Drupal 8

2015-05-13 (All day) - 2015-05-14 (All day) America/New_York

I come from the land of CouchDB, Sails.js, and Phreeze. A land where spinning up a RESTful API is but a few commands on the command line. I'm hoping that with a reproducible recipe and a "Hello World" Example, Drupal will prove that it too can kick butt in the modern world. I'm coming to DrupalCon LA this week, flying in Tuesday night. I'll be hanging around the sprint rooms on Wednesday and Thursday trying to come up with a recipe that might go something like...

composer global require drush/drush:dev-master
drush quick-drupal --core=drupal-8.0.x
drush en rest

Read more

Unique Digital Experience using Headless Drupal 8

We are one of the first Drupal teams in the world who have successfully built a Drupal 8 Portal using Headless Drupal technique. Here Drupal 8 is used to develop the back-end and Angular.js to build the front-end. Some of the cool features of the site are carousel for latest news (Carousel module is still not stable in D8 but using JS one can create carousel), category wise news, sub-menus and persistent header.

View Headless Drupal Demo

Faichi's picture

Why Go For Headless Drupal?

Drupal is an excellent platform for websites with dynamic content, media files and social presence. However, with Headless Web in buzz, the future possibilities are changing fast; making Drupal more powerful and capable. Let’s find out how Headless Drupal can transform your digital experience?
Know more : http://www.faichi.com/blog/why-go-headless-drupal

littleM's picture

Silicon Valley Drupal Users Group

2015-03-18 19:00 - 21:00 America/Los_Angeles

Beyond Mobile - A look at Drupal 8

Hosted by GoDaddy in Sunnyvale, food and drink by Pro People

Daniel Harris, Founder and Chief Engineer of Webdrips, will be speaking on Drupal 8 and the opportunities and issues with taking this new version into production. See the MeetUp announcement for more details and sign-up.

weeger's picture

Wjs for Drupal

Hi Guys,

Wjs is a little lazy loader in PHP and Javascript which have adapters modules for Drupal 6 and 7 (currently waiting approval).

Read more
chankongching's picture

2015 Drupal中国营提议:Auto-Scaling Drupal as Web BaaS

drupal generates a considerable load on the web server and can quickly become resource constrained there, having multiple web servers also increases the the redundancy of your deployment. it is always a system engineering perspective to take care the platform of drupal, i have seen a site with minimum memory to be ran is 4G, at the same time it is still slow. Handling the platform well that delivering your web service could enhance end-user experience, and at the same time saving costs.

Read more
-enzo-'s picture

Yo Marionette-Drupal

I want to share with you the project Yeoman Generator for Marionette and Drupal

Marionette Drupal is an opinionated yeoman generator for a Drupal7/8 backend with RESTful, using Backbone MarionetteJS, and Jasmine Behavior-Driven Test.

Current version: 0.1.7 and is in continue development.

Read more
-enzo-'s picture

Headless Drupal without PUT is possible?

Hi folks

I am writing a Headless Drupal application for Drupal 8 and I found this discussion Putting off PUT https://groups.drupal.org/node/284948

I'm trying to create a patch to enable PUT for entities in order to enable to create a client side node add/update from Backbone https://www.drupal.org/node/2399813

Someone here has more knowledge about this situation or have a contingence plan?

Kind regards,

amitaibu's picture

Yo Hedley!

Hedley is an opinionated yeoman generator for a Drupal7 backend with RESTful, and Angular app, and behat tests.

It's a great starting point for any fully decoupled app, as it's encapsulating a lot of the best practices we have developed in Gizra.

Dan_Rogers's picture

Headless app demo

Howdy all, going to be giving a talk on headless drupal at drupal camp Baltimore in a few days, as well as going over a ionic/angular/cordova demo app I built. If anyone has time on their hands and wants to check it out before hand, please let me know if anything jumps out as being wildly inaccurate!

The (somewhat) final app, which also houses all my speaking points can be viewed here:

Github repo here: https://github.com/rogerseyebyte/EBSheadlessDrupal



-enzo-'s picture

Entity Rest Extra module for Drupal 8

Hi folks

I publish a custom module for Drupal 8 https://github.com/enzolutions/entity_rest_extra/

This module enable two new Rest resources to enable to get admin information about Drupal 8 to be used by external implementation using Headless Drupal.

This idea was suggested as a patch to Drupal 8 Core more information at https://www.drupal.org/node/2355291#comment-9241689

All resources require authentication with an user with permission "Administer content types"

  1. Get Entity bundles

End Point: http://example.com/bundles/{entity}

Read more
victorkane's picture

Headless roundup and DrupalCon Latin America 2015 proposed session

Hi everyone.

First of all, I've made a DrupalCon Amsterdam 2014 headless roundup in which I list all the major events, report on two of the most important and then raise some questions and concerns. Comments are very welcome. I've been using this architecture on various projects over the last few months and the subject interests me greatly.

Read more
-enzo-'s picture

How to enable CORS requests against Drupal 8

Hey folks

I want to contribute an article about one option we have to enable CORS against Drupal 8 websites in current status http://enzolutions.com/articles/2014/09/08/how-to-enable-cors-requests-a...

The implementation I did is a solution meanwhile the ticket "Enable CORS for GET requests" https://www.drupal.org/node/1869548 is resolved

Feedbacks are more than welcome.

Subscribe with RSS Syndicate content

Headless Drupal

Group organizers

Group events

Add to calendar

Group notifications

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

Hot content this week