A farewell to Twig Lauri Eskola lauriii image Matt Grill drpal - - PowerPoint PPT Presentation

a farewell to twig lauri eskola lauriii
SMART_READER_LITE
LIVE PREVIEW

A farewell to Twig Lauri Eskola lauriii image Matt Grill drpal - - PowerPoint PPT Presentation

A farewell to Twig Lauri Eskola lauriii image Matt Grill drpal image Preston So prestonso Drupal. JavaScript. Future. Keynotes. Sessions. Sprints. A different kind of Drupal conference. Mark your calendar and prep your proposal!


slide-1
SLIDE 1

A farewell to Twig

slide-2
SLIDE 2

Lauri Eskola • lauriii

image
slide-3
SLIDE 3

Matt Grill • drpal

image
slide-4
SLIDE 4

Preston So • prestonso

slide-5
SLIDE 5
  • Drupal. JavaScript. Future.
  • Keynotes. Sessions. Sprints.

A different kind of Drupal conference.

Mark your calendar and prep your proposal! Follow @decoupleddays on Twitter.

slide-6
SLIDE 6

What we'll cover

slide-7
SLIDE 7

What problem spaces are we trying to solve?

○ ○

slide-8
SLIDE 8

Is Twig the right way forward?

slide-9
SLIDE 9

Share templates across client and server— that's universal!

“ “

LET'S DO IT WITH TWIG!

slide-10
SLIDE 10

The problem with Twig

Twig JSX Handlebars Angular

slide-11
SLIDE 11

The problem with Twig

Twig JSX Handlebars Angular

identically isomorphically

slide-12
SLIDE 12

Drupal should treat client-side rendering as a first-class citizen

slide-13
SLIDE 13

What about rendering JavaScript server-side in PHP?

“ “

NO RECENT UPDATES TO php-v8js

slide-14
SLIDE 14

Why don't we use Twig.js or other client-side libraries?

“ “

TWIG.JS IS COMPLETELY DIFFERENT FROM SERVER-SIDE TWIG

slide-15
SLIDE 15

Twig problems

slide-16
SLIDE 16

One React to rule them all

slide-17
SLIDE 17
slide-18
SLIDE 18

Whoa, whoa, whoa, JSX in Drupal core???

“ “

LET'S TACKLE A FEW QUESTIONS FIRST

slide-19
SLIDE 19

Shouldn't we explore pairing Twig with React first?

slide-20
SLIDE 20

Combining Twig with React

slide-21
SLIDE 21

Should we abandon templating languages altogether?

slide-22
SLIDE 22

No templating language altogether?

slide-23
SLIDE 23

Emerging solutions

  • twig-graphql
  • waterwheel.js
  • js-drupal
  • react-twig
slide-24
SLIDE 24

Help out JS modernization with jsdrupal!

slide-25
SLIDE 25

Open discussion

slide-26
SLIDE 26
  • Drupal. JavaScript. Future.
  • Keynotes. Sessions. Sprints.

A different kind of Drupal conference.

Mark your calendar and prep your proposal! Follow @decoupleddays on Twitter.

slide-27
SLIDE 27

Join us for contribution sprints

Mentored Core sprint First time sprinter workshop General sprint

#drupalsprint

slide-28
SLIDE 28

What did you think?

http://nashville2018.drupal.org/sessions/farewell-twig https://www.surveymonkey.com/r/DrupalConNashville

slide-29
SLIDE 29

Thank you!

slide-30
SLIDE 30
slide-31
SLIDE 31
slide-32
SLIDE 32

Title slide

slide-33
SLIDE 33

Title slide Additional title

slide-34
SLIDE 34

Main Header Second line

image
slide-35
SLIDE 35

Main Header Second line

image
slide-36
SLIDE 36

Main Header

image
slide-37
SLIDE 37

Some Section header Second Line

slide-38
SLIDE 38

Main Header Second line

slide-39
SLIDE 39

Main Header Second line

slide-40
SLIDE 40

Main Header Second line

slide-41
SLIDE 41

Main Header Second line

image image
slide-42
SLIDE 42

Main Header

slide-43
SLIDE 43

This will be a quote about something or someone

“ “

slide-44
SLIDE 44

Join us for contribution sprints

Mentored Core sprint First time sprinter workshop General sprint

#drupalsprint

slide-45
SLIDE 45

What did you think?

http://nashville2018.drupal.org/schedule https://www.surveymonkey.com/r/DrupalConNashville