SlideShare a Scribd company logo
Lupus Decoupled Drupal
Drupal Austria Meetup 2023-04-12, Wolfgang Ziegler
Component-oriented Decoupled Drupal with Nuxt.js!
About me
Wolfgang Ziegler // fago
Managing Partner, CTO of drunomics
Contributions
○ Drupal 8 Entity API & Typed Data API
○ Contrib: Rules, Entity API, Field
Collection, Profile2
Twitter: @the_real_fago
drupal.org/u/fago
A bit of history...
almost 4 years ago, we started our in-house distribution
… and building our favourite decoupled Drupal stack!
Lupus Nuxt.js Drupal Stack
Why Lupus Decoupled Drupal?
based on the same stack, but…
● complete, fully integrated solution
● out-of-the-box
● opinionated setup:
➔ /ce-api/<your-page> API prefix
➔ CORS headers & Cookie authentication
➔ Backend <-> Frontend redirects
Component-oriented !
● Builds upon Lupus Custom Elements Renderer
● Renders every Drupal page into high-level component
● Each custom elements becomes a (frontend) component
Architecture overview
GET /home GET /ce-api/home
Custom Elements
HTML
Server-Side-
Rendering
Subsequent
pages
GET /ce-api/article/example
Custom Elements
Link
So why another API?
Don’t throw all Drupal features away!
➔ Performance
◆ Page-based caching & invalidation
◆ Less queries to time-critical rendered page
➔ Editorial control of pages & layouts & path aliases
➔ Working previews, authentication - easy to add more routes!
➔ Backend stays in control of URLs, e.g. handy for
◆ SEO / Sitemaps
◆ Metatags / Social media
◆ Newsletter integrations
https://8080-shaal-drupalpod-gs7ruhbg9u9.ws-eu77.gitpod.io/ce-api/node/1?auth=1
Loose coupling
● Clearly defined API response
● Backend & Frontend can evolve separately
● & be separately tested!
● Easy to combine with other APIs as suiting
● Read more
● like Vue.js: Easy to get started, performant & enjoyable!
● includes all needed for fully-fledged applications
○ Transpilation, CSS (Pre-)Processors
○ Routing, with automatic code splitting, …
● Flexible deployment: SSR, SSG, Serverless (Nuxt 3)
● Modules (I18n, PWA, Analytics, ...)
Current status
https:/
/www.drupal.org/project/lupus_decoupled
Achievements unlocked
● beta1 released
● Easy testing - full stack gitpod.io environments
● Easy setup - ddev/gitpod.io repository template
○ integrated frontend with SSR
○ working authentication (Cookie-based)
Achievements unlocked (2/2)
● migrated from Nuxt2 to Nuxt3
○ Vue3, optimized for serverless, faster…
● moved to JSON serialization by default
● Block-Layout Support (thanks Full Fat Things!)
● Views support landed today! (thanks Full Fat Things!)
● Forms support & User login - WIP (thanks Full Fat
Things!)
Todos
● Finish JSON-based Views support
● Proper automated tests! (E2E, playwright)
● Get Custom Elements UI (3.x) ready!
● Ease of use: Copy templates from backend to frontend!
● Stabilize
● Documentation!
Lupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdf
Thank you!

More Related Content

PDF
Drupalcon 2021 - Nuxt.js for drupal developers
PDF
My "Perfect" Toolchain Setup for Grails Projects
PDF
Drupal 7 and RDF
PDF
Node.js an Exectutive View
PPTX
Instant developer onboarding with self contained repositories
PDF
[scala.by] Launching new application fast
PDF
Decoupling Drupal mit dem Lupus Nuxt.js Drupal Stack
PDF
Drupal and the semantic web - SemTechBiz 2012
Drupalcon 2021 - Nuxt.js for drupal developers
My "Perfect" Toolchain Setup for Grails Projects
Drupal 7 and RDF
Node.js an Exectutive View
Instant developer onboarding with self contained repositories
[scala.by] Launching new application fast
Decoupling Drupal mit dem Lupus Nuxt.js Drupal Stack
Drupal and the semantic web - SemTechBiz 2012

Similar to Lupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdf (20)

PDF
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
PDF
Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for ...
PDF
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
ODP
Drupal Architecture and functionality
PPTX
Node.js Web Apps @ ebay scale
PPTX
Snowflake Automated Deployments / CI/CD Pipelines
PDF
Getting started with the Lupus Nuxt.js Drupal Stack
PDF
Efficient development workflows with composer
PPTX
Becoming A Drupal Master Builder
PDF
More Than Just The Tip Of The Iceberg.pdf
PDF
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
PDF
ODN - Technical introduction of the platform
PDF
SCM Puppet: from an intro to the scaling
PDF
Collaborative environment with data science notebook
PDF
[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8
PDF
Scaling up and accelerating Drupal 8 with NoSQL
PDF
Spark Driven Big Data Analytics
PDF
Drupal in-depth
PDF
Drupal 8 improvements for developer productivity php symfony and more
PDF
Drupal + composer = new love !?
Drupal south 2014 - bootstrap vs foundation deathmatch - v.1.1
Embedding Linked Data Invisibly into Web Pages: Strategies and Workflows for ...
Designing flexible apps deployable to App Engine, Cloud Functions, or Cloud Run
Drupal Architecture and functionality
Node.js Web Apps @ ebay scale
Snowflake Automated Deployments / CI/CD Pipelines
Getting started with the Lupus Nuxt.js Drupal Stack
Efficient development workflows with composer
Becoming A Drupal Master Builder
More Than Just The Tip Of The Iceberg.pdf
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
ODN - Technical introduction of the platform
SCM Puppet: from an intro to the scaling
Collaborative environment with data science notebook
[Srijan Wednesday Webinars] Breaking Limitations using Drupal 8
Scaling up and accelerating Drupal 8 with NoSQL
Spark Driven Big Data Analytics
Drupal in-depth
Drupal 8 improvements for developer productivity php symfony and more
Drupal + composer = new love !?
Ad

Recently uploaded (20)

PPT
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
DOC
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
SAP Ariba Sourcing PPT for learning material
DOCX
Unit-3 cyber security network security of internet system
PPTX
Database Information System - Management Information System
PDF
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
PPTX
Funds Management Learning Material for Beg
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
Introduction to Information and Communication Technology
PPT
Ethics in Information System - Management Information System
PPTX
newyork.pptxirantrafgshenepalchinachinane
PPTX
Internet___Basics___Styled_ presentation
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PDF
Introduction to the IoT system, how the IoT system works
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
isotopes_sddsadsaadasdasdasdasdsa1213.ppt
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
Tenda Login Guide: Access Your Router in 5 Easy Steps
Mathew Digital SEO Checklist Guidlines 2025
presentation_pfe-universite-molay-seltan.pptx
SAP Ariba Sourcing PPT for learning material
Unit-3 cyber security network security of internet system
Database Information System - Management Information System
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
Funds Management Learning Material for Beg
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
Introduction to Information and Communication Technology
Ethics in Information System - Management Information System
newyork.pptxirantrafgshenepalchinachinane
Internet___Basics___Styled_ presentation
INTERNET------BASICS-------UPDATED PPT PRESENTATION
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Introduction to the IoT system, how the IoT system works
Module 1 - Cyber Law and Ethics 101.pptx
Ad

Lupus Decoupled Drupal - Drupal Austria Meetup - 2023-04.pdf

  • 1. Lupus Decoupled Drupal Drupal Austria Meetup 2023-04-12, Wolfgang Ziegler Component-oriented Decoupled Drupal with Nuxt.js!
  • 2. About me Wolfgang Ziegler // fago Managing Partner, CTO of drunomics Contributions ○ Drupal 8 Entity API & Typed Data API ○ Contrib: Rules, Entity API, Field Collection, Profile2 Twitter: @the_real_fago drupal.org/u/fago
  • 3. A bit of history... almost 4 years ago, we started our in-house distribution … and building our favourite decoupled Drupal stack!
  • 5. Why Lupus Decoupled Drupal? based on the same stack, but… ● complete, fully integrated solution ● out-of-the-box ● opinionated setup: ➔ /ce-api/<your-page> API prefix ➔ CORS headers & Cookie authentication ➔ Backend <-> Frontend redirects
  • 6. Component-oriented ! ● Builds upon Lupus Custom Elements Renderer ● Renders every Drupal page into high-level component ● Each custom elements becomes a (frontend) component
  • 7. Architecture overview GET /home GET /ce-api/home Custom Elements HTML Server-Side- Rendering Subsequent pages GET /ce-api/article/example Custom Elements
  • 9. So why another API? Don’t throw all Drupal features away! ➔ Performance ◆ Page-based caching & invalidation ◆ Less queries to time-critical rendered page ➔ Editorial control of pages & layouts & path aliases ➔ Working previews, authentication - easy to add more routes! ➔ Backend stays in control of URLs, e.g. handy for ◆ SEO / Sitemaps ◆ Metatags / Social media ◆ Newsletter integrations https://8080-shaal-drupalpod-gs7ruhbg9u9.ws-eu77.gitpod.io/ce-api/node/1?auth=1
  • 10. Loose coupling ● Clearly defined API response ● Backend & Frontend can evolve separately ● & be separately tested! ● Easy to combine with other APIs as suiting ● Read more
  • 11. ● like Vue.js: Easy to get started, performant & enjoyable! ● includes all needed for fully-fledged applications ○ Transpilation, CSS (Pre-)Processors ○ Routing, with automatic code splitting, … ● Flexible deployment: SSR, SSG, Serverless (Nuxt 3) ● Modules (I18n, PWA, Analytics, ...)
  • 13. Achievements unlocked ● beta1 released ● Easy testing - full stack gitpod.io environments ● Easy setup - ddev/gitpod.io repository template ○ integrated frontend with SSR ○ working authentication (Cookie-based)
  • 14. Achievements unlocked (2/2) ● migrated from Nuxt2 to Nuxt3 ○ Vue3, optimized for serverless, faster… ● moved to JSON serialization by default ● Block-Layout Support (thanks Full Fat Things!) ● Views support landed today! (thanks Full Fat Things!) ● Forms support & User login - WIP (thanks Full Fat Things!)
  • 15. Todos ● Finish JSON-based Views support ● Proper automated tests! (E2E, playwright) ● Get Custom Elements UI (3.x) ready! ● Ease of use: Copy templates from backend to frontend! ● Stabilize ● Documentation!