Drupal 8: a brief introduction by Jeff Geerling
Jeff Geerling • jeffgeerling.com / geerlingguy • Senior Application Developer, Mercy • Owner, Midwestern Mac, LLC
Agenda • Drupal 8 overview • Content Management Features • Site Building Features • Development Features • Discussion
Drupal 8 When will it be ready?
Drupal 8 When will it be ready? 2007 2008 2011 2014 Drupal 6 Drupal 5 Drupal 7 ???
Drupal 8 Will I have to relearn everything?!
Drupal 8 Will I have to relearn everything?! Yes
Drupal 8 Will I have to relearn everything?! Yes and No
Drupal 8 Will I have to relearn everything?! Yes and No Drupal is like the web: always evolving, always improving.
Content Management • New content form + preview • Wysiwyg • In-place editing • Multilingual at its core • Accessible at its core • Tours for contextual help
New Content Form Content Management
Internationalization Improvements Content Management
Accessibility Improvements Content Management
Tours Content Management
Demo
Site Building • VIEWS IN CORE!! • Fields in core: Date, Link, Email, Telephone, Entity Reference, etc. • 100% responsive, mobile-first (includes admin backend) • Form Display UI (like display modes) • Blocks, supercharged • Configuration management • RESTful at the core
Views in Core Site Building
Fields in Core Site Building
100% Responsive Site Building
Form Display UI Site Building
Blocks, supercharged Site Building
RESTful Site Building
Demo
Developers • OOP architecture / Symfony-based • New routing system (hook_menu == gone) • Configuration management • NIH: Reuse the best code (PHP, JS, etc.) • MIGRATE IN CORE!! • Normalized, completed APIs (entities, cache, etc.)
OOP Architecture Developers / Themers http://www.garfieldtech.com/presentations/sflportland-drupal8-symfony2/#/3
New Routing System Developers / Themers
Configuration management Developers / Themers
NIH (“Not Invented Here”) Developers / Themers • Twig • Backbone • jQuery • jQuery UI • YAML • HAL/REST • Guzzle • PHPUnit • CKEditor • … • Symfony2 • Assetic • Composer • Doctrine • EasyRDF
Migrate in Core Developers / Themers Drupal 6 Drupal 7
Migrate in Core Developers / Themers Drupal 6 Drupal 7 Just committed!
Migrate in Core Developers / Themers Drupal 6 Drupal 7 Just committed! In progress!
API Improvements Developers $node->field_foo[LANGUAGE_NONE][0]['value']
API Improvements Developers $node->field_foo[LANGUAGE_NONE][0]['value'] $node->field_foo->value
API Improvements Developers $node->field_foo[LANGUAGE_NONE][0]['value'] $node->field_foo->value hook_block_info, hook_block_configure, hook_block_save, hook_block_view, hook_block_YIKES!
API Improvements Developers $node->field_foo[LANGUAGE_NONE][0]['value'] $node->field_foo->value hook_block_info, hook_block_configure, hook_block_save, hook_block_view, hook_block_YIKES! BlockPluginInterface
API Improvements Developers $node->field_foo[LANGUAGE_NONE][0]['value'] $node->field_foo->value hook_block_info, hook_block_configure, hook_block_save, hook_block_view, hook_block_YIKES! BlockPluginInterface _cache_get_object(), cache_get(), cache_get_multiple(), cache_set(), cache_clear_all(), cache_is_empty()
API Improvements Developers $node->field_foo[LANGUAGE_NONE][0]['value'] $node->field_foo->value hook_block_info, hook_block_configure, hook_block_save, hook_block_view, hook_block_YIKES! BlockPluginInterface _cache_get_object(), cache_get(), cache_get_multiple(), cache_set(), cache_clear_all(), cache_is_empty() Drupal::cache()
…and so much more • So, so many small improvements, including: • Node published date uses date picker • UI dropbuttons clean up complex action item links everywhere • Menu, content, block, etc. UI is intuitive • Things already just work, even though we’re in alpha (test coverage++) • Entity reference to any entity. Mind == blown. • Wysiwyg toolbar config is drag-and-drop • HTML5 everywhere, mobile-first • Responsive images • Views-powered listings (easy to modify to suit your tastes) • …and too many more to list in this presentation!
Discussion Resources for further exploration ! • Drupal 8 Change Records • Drupal 8 won't kill your kittens • Drupal 8 Will Have Something for Everyone to Love • Drupal 8 Release Date • This Week in Drupal Core
Drupal 8 - A Brief Introduction

Drupal 8 - A Brief Introduction