About Me

Arpit Rastogi

@arpit_rastogi10

Drupal Developer @Srijan Goa

 

Agenda

  • Drupal 8 overview
  • Content Management Features
  • Site Building Features
  • Configuration Management

Drupal 8 overview

Drupal Release Timeline.

Where is Drupal 8 currently?

Drupal 8 Directory Structure Changes

Content Management Features

  • New Content Form and better preview options.
  • WYSIWYG out of the box.
  • In place editing
  • Multilingual at its core.
  • Tours for contextual help.

Ckeditor in core!

  • No more struggle in finding right version of libraries and module installation.
  • Select text editor straight  under "Text formats and editors"  configuration.
  • Drag & drop toolbar configuration for CKEditor
  • Nice API for registering additional CKEditor plugins, enhancing CKEditor configuration form.

 

  • Advanced Content Filter
  • Everything that is not allowed is removed
  • Works also when pasting content – WYSIWYG!

Reference

Site Building Features

  • Views in core.
  • New field types are introduced to core date, link, email, telephone.
  • 100% responsive
  • Form display UI
  • Blocks are supercharged.
  • Configuration Management.
  • Restful at the core.

Views in core

  • Query builder UI.
  • Was that too hard too install views?
  • 70% of drupal sites use views.
  • With views in core we can have better content, people listing page.
  • Learnability: First-time users of Drupal often don't realize what is possible with contributed modules. Having Views in core will mean that new site builders can more quickly understand Drupal's capabilities out-of-the-box.
  • Contributor experience: Hundreds of contributed modules rely on the Views API, so these modules are blocked on Views for each release.
  • Stability: If Views is in core, changes that cause Views regressions will be core release blockers, and Views bugs will be treated as core bugs.

Entity Fields Improvements

  • New field types are introduced as email, link, date, telephone.
  • Comments are now added as fields, multiple comments form can be added to node forms.
  • User profile picture is an image field with better control.
  • Bulk upload option with image field.

Entity Form Experience

  • Manage Form Display UI.
  • No more hook_form_alter to hide fields.
  • More control over user registration/edit form.

Blocks are supercharged!

  • Blocks are entities now.
  • Attach blocks to node via ER field.
  • Add fields to blocks
  • Define custom block types similar to content types.
  • Now place same block on multiple region without need of multiblock module.

Configuration Management

  • Content and Configurations are now well separated in D8.
  • All configurations sit under sites/default/files/ and are easily exportable to stg/prod.
  • With help of version control we can ensure we are not overriding configurations.

Rest API at core.

  • REST is one of the most popular ways of making Web Services work.
  • REST utilizes HTTP methods, such as GET, POST, and DELETE.
  • Use case can be a module app reading content from your database using GET method.
  • Restful Web Services Module(control) + Rest UiI(contrib)

Sites on Drupal 8

Thank You

#DCM D8

By Arpit Rastogi

#DCM D8

DCM Drupal 8 improvements

  • 1,290