Drupal 8 for site builders About Me Andrey Yurtaev Drupal - - PowerPoint PPT Presentation

drupal 8 for site builders about me
SMART_READER_LITE
LIVE PREVIEW

Drupal 8 for site builders About Me Andrey Yurtaev Drupal - - PowerPoint PPT Presentation

Andrey Yurtaev Drupal 8 for site builders About Me Andrey Yurtaev Drupal developer Session plan Review of contrib status Installation Creating themes and modules Site building Contrib modules My frequently used


slide-1
SLIDE 1

Drupal 8 for site builders

Andrey Yurtaev

slide-2
SLIDE 2

About Me

Andrey Yurtaev

Drupal developer

slide-3
SLIDE 3

Session plan

  • Review of contrib status
  • Installation
  • Creating themes and modules
  • Site building
slide-4
SLIDE 4
slide-5
SLIDE 5

Contrib modules

slide-6
SLIDE 6

My frequently used modules for D7

  • admin_menu
  • advagg
  • backup_migrate
  • boost — not needed?
  • ckeditor — in core
  • photoswipe
  • ctools
  • entity — in core
  • redirect
  • jquery_update — not needed
  • l10n_update — in core
  • libraries
  • metatag
  • pathauto
  • token
  • transliteration — in core
  • views — in core
  • xmlsitemap
slide-7
SLIDE 7

“Big” modules

  • commerce — alpha
  • webform — not usable (eform works fine)
  • feeds — not ready (migrate works fine)
  • rules — ?
  • panels
  • ds
  • search_api — beta
slide-8
SLIDE 8

Useful modules

  • devel
  • field_collection
  • insert_block
  • inline_entity_form
  • linkit
  • markdown
  • smtp
  • path_breadcrumbs — not needed
slide-9
SLIDE 9

Installation

slide-10
SLIDE 10

Installation

  • Not got harder
  • New good folder structure
  • drush
  • composer
slide-11
SLIDE 11

Out of the Box

  • HTML5
  • New field types
  • Adaptivity
  • Views
  • CKeditor
  • Internationalization
slide-12
SLIDE 12

Creating themes and modules

slide-13
SLIDE 13

Creating Theme

  • template.php -> MY_THEME.theme
  • MY_THEME.info -> MY_THEME.info.yml
  • *.tpl.php -> *.html.twig
  • CSS and JS libraries
  • New base themes
  • Twig
slide-14
SLIDE 14

Libraries

MY_THEME.libraries.yml MY_THEME.info.yml MY_THEME.theme in MY_THEME_preprocess_html

slide-15
SLIDE 15

Base themes

Classy Stable too many classes not enough classes VS

slide-16
SLIDE 16

Twig

  • Simple
  • Powerful
  • Secure
  • Inheritance
slide-17
SLIDE 17

drupal.org themes

slide-18
SLIDE 18

Material base

  • Theme for themers
  • Modern design concept
  • Strict with guidelines
  • Color styles
  • SASS, Flexbox, Icons
slide-19
SLIDE 19
slide-20
SLIDE 20
slide-21
SLIDE 21
slide-22
SLIDE 22

Creating modules

  • OOP
  • Plugin system
slide-23
SLIDE 23

Site building

slide-24
SLIDE 24

Blocks

  • Multiple instances
  • Fieldable
slide-25
SLIDE 25

Views

  • Not changed
  • Admin pages on views
slide-26
SLIDE 26

Forms

  • contact — for simple forms
  • eform — for complicated forms
slide-27
SLIDE 27

Form API

  • No major changes
  • New HTML5 elements
slide-28
SLIDE 28

Summary

slide-29
SLIDE 29

Questions

?

slide-30
SLIDE 30

Thank You!

Золотой спонсор: При поддержке: Серебряные спонсоры: