SLIDE 1
Drupal 8 for site builders About Me Andrey Yurtaev Drupal - - PowerPoint PPT Presentation
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 2
SLIDE 3
Session plan
- Review of contrib status
- Installation
- Creating themes and modules
- Site building
SLIDE 4
SLIDE 5
Contrib modules
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
“Big” modules
- commerce — alpha
- webform — not usable (eform works fine)
- feeds — not ready (migrate works fine)
- rules — ?
- panels
- ds
- search_api — beta
SLIDE 8
Useful modules
- devel
- field_collection
- insert_block
- inline_entity_form
- linkit
- markdown
- smtp
- path_breadcrumbs — not needed
SLIDE 9
Installation
SLIDE 10
Installation
- Not got harder
- New good folder structure
- drush
- composer
SLIDE 11
Out of the Box
- HTML5
- New field types
- Adaptivity
- Views
- CKeditor
- Internationalization
SLIDE 12
Creating themes and modules
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
Libraries
MY_THEME.libraries.yml MY_THEME.info.yml MY_THEME.theme in MY_THEME_preprocess_html
SLIDE 15
Base themes
Classy Stable too many classes not enough classes VS
SLIDE 16
Twig
- Simple
- Powerful
- Secure
- Inheritance
SLIDE 17
drupal.org themes
SLIDE 18
Material base
- Theme for themers
- Modern design concept
- Strict with guidelines
- Color styles
- SASS, Flexbox, Icons
SLIDE 19
SLIDE 20
SLIDE 21
SLIDE 22
Creating modules
- OOP
- Plugin system
SLIDE 23
Site building
SLIDE 24
Blocks
- Multiple instances
- Fieldable
SLIDE 25
Views
- Not changed
- Admin pages on views
SLIDE 26
Forms
- contact — for simple forms
- eform — for complicated forms
SLIDE 27
Form API
- No major changes
- New HTML5 elements
SLIDE 28
Summary
SLIDE 29
Questions
?
SLIDE 30
Thank You!
Золотой спонсор: При поддержке: Серебряные спонсоры: