DECOUPLED
DRUPAL 8 AS A BACKEND-ONLY�FOR WEBSITES & MOBILE APPS
Stuff about me!
BRUNO MATEUS
Director of eCommerce @ VILA VITA Parc
Get this presentation: http://bit.ly/2cELKsY
drupal is
MONOLITHIC
drupal is
MONOLITHIC
All these remove flexibility to create other experiences to our end-users.
drupal is
MONOLITHIC
FRONT
END
CMS
definition
DE·COU·PLE
Electronics:
To reduce or eliminate the coupling of (one circuit or part to another).
Generic:
To separate or detach (by functions, concerns, operations, etc).
separating concerns
CMS should�manage content
That’s its job, right?
FRONT-END should display content
Looks simple enough.
separating concerns
CMS
FRONT-END
Web Service API
separating concerns
FRONT-END�is just an interface
It exists everywhere, everything is an app.
If it can be online, it can retrieve the data we need.�But if it’s offline, it can work too!
FRONT-END
Yes!!! Let’ s replace our website right now!
NOT SO FAST...
FREEDOM ISN’T FREE OF REQUIREMENTS!
Things to know
CMS
Also, you should really get an SSL certificate. You may be exposing some information through the api’s.
Things to know
FRONT-END
website example
Uses Drupal 8 + Angular 1.5
website example
Very straight forward Views setup.
website example
website example
Index.html boots Angular and required scripts:
website example
open vilavitaparc.com
website + external devices
Uses Drupal 7 + Handlebars/Moustache
website + external devices
Regular Drupal 7 website.
website + external devices
Content manager has a choice of visibility/placement
website + external devices
Vanilla JS:
Handlebars:
website + external devices
Vanilla JS:
Handlebars:
website + mobile app
Uses Drupal 7 + Ionic 1 (Angular 1.2) + PouchDB
website + mobile app
Regular Drupal 7 website.
website + mobile app
Ionic uses Angular’s powers’ to simplify creation of mobile webapps.
website + mobile app
Not all projects benefit from these approaches. But the possibilities make me love Drupal even more!
Obrigado !