Page 1
A farewell to Twig
Page 2
Lauri Eskola • lauriii
image
Page 3
Matt Grill • drpal
image
Page 4
Preston So • prestonso
Page 5
Drupal. JavaScript. Future.Keynotes. Sessions. Sprints.A different kind of Drupal conference.
Mark your calendar and prep your proposal!Follow @decoupleddays on Twitter.
Page 6
What we'll cover
●
●
●
Page 7
What problem spaces are we trying to solve?
●
○
●
○
○
○
●
○
Page 8
Is Twig theright way forward?
Page 9
Share templates acrossclient and server—that's universal!
“ “LET'S DO IT
WITH TWIG!
Page 10
The problem with Twig
Twig
JSX
Handlebars
Angular
Page 11
The problem with Twig
Twig
JSX
Handlebars
Angular
identically isomorphically
Page 12
Drupal should treat client-side rendering as a first-class citizen
Page 13
What about rendering JavaScript server-side in PHP?
“ “NO RECENT UPDATES TO php-v8js
Page 14
Why don't we use Twig.js or other client-side libraries?
“ “TWIG.JS IS
COMPLETELY DIFFERENT FROM SERVER-SIDE TWIG
Page 15
Twig problems
●
○
●
○
●
○
Page 16
One React to rule them all
●
●
●
●
Page 18
Whoa, whoa, whoa,JSX in Drupal core???“ “
LET'S TACKLE A FEW QUESTIONS FIRST
Page 19
Shouldn't we explore pairing Twig with React first?
Page 20
Combining Twig with React
●
●
Page 21
Should we abandon templating languages altogether?
Page 22
No templating language altogether?
●
●
●
Page 23
Emerging solutions
● twig-graphql
● waterwheel.js
● js-drupal
● react-twig
Page 24
Help out JS modernizationwith jsdrupal!
Page 26
Drupal. JavaScript. Future.Keynotes. Sessions. Sprints.A different kind of Drupal conference.
Mark your calendar and prep your proposal!Follow @decoupleddays on Twitter.
Page 27
Join us forcontribution sprints
Mentored Core sprint
First timesprinter workshop
Generalsprint
#drupalsprint
Page 28
What did you think?
http://nashville2018.drupal.org/sessions/farewell-twig
https://www.surveymonkey.com/r/DrupalConNashville
Page 33
Title slideAdditional title
Page 34
Main HeaderSecond line
image
Page 35
Main HeaderSecond line
image
Page 36
Main Header
image
Page 37
Some Section headerSecond Line
Page 38
Main HeaderSecond line
Page 39
Main HeaderSecond line
Page 40
Main HeaderSecond line
Page 41
Main HeaderSecond line
image image
Page 43
This will be a quote about something or someone“ “
Page 44
Join us forcontribution sprints
Mentored Core sprint
First timesprinter workshop
Generalsprint
#drupalsprint
Page 45
What did you think?
http://nashville2018.drupal.org/schedule
https://www.surveymonkey.com/r/DrupalConNashville