“BY FAILING TO PREPARE, YOU ARE PREPARING TO … 8 - NEWDCamp... · Migrate! Migrate Drupal!...

Post on 25-May-2018

222 views 0 download

Transcript of “BY FAILING TO PREPARE, YOU ARE PREPARING TO … 8 - NEWDCamp... · Migrate! Migrate Drupal!...

“BY FAILING TO PREPARE, YOU ARE PREPARING TO FAIL.” - BEN FRANKLIN

!

ARE YOU READY FOR D8?

!NEWDCamp 2014

Stephen Cross & Nic Laflin

STEPHEN CROSS

Parallax Information Technology !

@stephencross www.ParallaxInfoTech.com

!!

www.TalkingDrupal.com

NIC LAFLIN

nLightened Design !

@nicxvan www.nlightened.net

!!

www.TalkingDrupal.com

PSA October 15, 2014

Advisory ID: SA-CORE-2014-005 - Drupal core - SQL injection

October 29, 2014

Advisory ID: DRUPAL-PSA-2014-003

“You should proceed under the assumption that every Drupal 7 website was compromised unless updated or patched before Oct

15th, 11pm UTC”

HISTORY• First commit - February 2012

• Beta 2 -October 15

• Over 2,300 Committers

• 11,500 committed patches

DRUPAL HAS GROWN UP• CMS and Framework

• Integrates other open source projects (TWIG, Symfony, Composer…)

• Developers have easier transition to Drupal

• Prepared to compete at an enterprise level

• Can be used as a data store

MORE IN CORE• Website = Core + Contributed Modules

• Moved to Core (30+)

• Benefits:

• Updated with Core release

• Security

• Wider compatibility with contributed modules

Actions Ban

Basic Authentication Block Content

Breakpoint CKEditor

Config Config Translation

Content Translation Datetime

Editor Entity Reference

HAL History

Language

Link Menu Link Content

Menu UI Migrate

Migrate Drupal Options

Quickedit Responsive Image

REST Serialization Telephone

Text Tour

Views Views UI

MOVED TO CORE

Blog Dashboard

Menu Open ID Overlay

PHP Poll

Profile Translation

Trigger

REMOVED FROM CORE

POPULAR CONTRIB MODULES STATUS

Source: DrupalCon 2014 Amersterdam Sept 29-Oct 03

Youtube: “Drupal 8 Contrib Module Update"

• Rules (not completed funded - early next year)

• Panels (very early in process, no time table)

• Media (when it’s done, no timetable)

• Search API (well on it’s way)

• Commerce (maybe mid 2015, too early to tell)

• Display Suite (Promise it will be done before 2015)

AUTHORING EXPERIENCE• In place editing

• Pros

• Can quickly edit typos

• More intuitive

• Cons

• Non contextual edits

• Accessibility

• Multidevice

AUTHORING EXPERIENCE• New Layout • Clearer Actions

• New save button • Save and publish • Save as unpublished

• Preview

!

AUTHORING EXPERIENCE• Text formats

• Restricted, Basic, Full, Pop up warning

• Multiple file upload • WYSIWYG out of the box

!

!

!

AUTHORING EXPERIENCE

• Mobile Friendly via Responsive Design

• Out of the box

• Mobile Authoring and Site Admin

SITE BUILDING• Incremental

improvements

• New organization

• Better buttons

• Entity save

• Field operations

SITE BUILDING• Views is integrated

• Home page

• Content admin

• Blocks are Entities

• Add fields

• Multiple instances on one page

SITE BUILDING• Form modes

• Like Display mode

• REST is integrated

CONFIGURATION MANAGEMENT INITIATIVE (CMI)• Separation of Content and Configuration

• Stored in database, exported to .yml files (pronounced yah-mull /ˈjæməl/)

• Use case: synchronization from Dev to Production

• Does not replace Features Module

CMI• Import/Export Single

Configurations or Full Configuration

• Synchronize - to view and chose configuration changes

TWIG• TWIG - PHP Theming

Language

• More Secure

• Faster

• Escaped output

• No more php in template files

• Debug mode

• Clean Syntax

• IDE integration

MULTILINGUAL• In core - translation baked in

• Install auto detects language and download required language packs

• Translate everything

• Automatic conversion of special characters ( "ç" and "ü" to "c" and “u”)

• Separate admin language

• …

OOP• Object Oriented PHP

• Learning curve for custom and contrib module development

• Impacts you use of Drupal 8 for production websites

5 REASONS TO GET STARTED• It’s in Beta

• To Prepare your customers

• Early Adopters Benefit

• To make it better

• Because we say so

HOW TO GET STARTED• Download the beta

• System requirements

• PHP 5.4.5

• MySQL 5.0.15

HOW TO GET STARTED• Team learning

• Dedicate time per week (One hour alone and one hour together)

• Sandbox sites

• simplytest.me

• trydrupal8.com

USE FOR PRODUCTION?• NO

• Not until full release at the earliest

• Maybe personal projects

• Still a changing API so unstable modules

• Content can’t be migrated or upgraded

DRUPAL 8 questions