SlideShare a Scribd company logo
Drupal 8 introduction
Introduction to Drupal 8
Aditya Ghan
Aditya Ghan
Solution Architect
DrupalCon Los Angeles 2015
DrupalCon Asia 2016
DrupalCon New Orleans 2016
Trainings - The mighty
“Why?”
• Personal Growth, long term
plan and value
• Adopt new technologies,
practices, policies early.
• Stay Relevant in a fast
changing tech world.
What’s different this
time?
What’s different this time?
• Consolidate all fragments of trainings going on
right now into one.
• Standardise the bare minimums. (PPT,
Documentation, Exercises & Assets)
• A standard structure, making it repeatable,
trackable, and person independent.
Drupal 8 introduction
Introduction to Drupal 8
Aditya Ghan
Agenda
• Drupal 8 Overview
• Drupal 8 for Developers
• Drupal 8 for Site Builders
• Drupal 8 for Mobile
Drupal 8
• It’s the new Drupal
• Latest Stable Version - 8.2
• Very different than Drupal 7,
much evolved
Inspiration behind Drupal 8
We’re on a island of Drupalisms!
Drupalisms
$bigassobject->blah[0][‘blu’][‘bla’]->blah->balle[0]
More Drupalisms
• Minimum OOP support
• Hooks
Drupal 8 for Developers
Understanding Drupal
releases
• Always use a recommended release when starting
a project.
• Current Release is 8.2.5
• A new minor release would be made every 6
months (Drupal 8.0.x, 8.1.x, 8.2.x, and so on)
• Each Minor release will have some experimental
modules for developers to test and give
feedbacks
Understanding Drupal
releases
• Each minor release has minor updates within it
(8.2.5 to 8.2.6 etc)
• Guide to update Drupal 8 core: https://
www.drupal.org/docs/8/update/update-
procedure-in-drupal-8
• Exercise caution when updating from one minor
release to another (Eg: 8.1.x to 8.2.x)
D8 Vocabulary
Enter Drupal 8
• The leading PHP framework to
create websites and web
applications.
• Drupal 8 uses many Symfony
components such as
HttpFoundation, HttpKernel,
Routing, EventDispatcher
• YAML is a human friendly data
serialisation standard for all
languages.
• Drupal uses YAML to store
lists and data where
computations are not needed
• YAML is used to define Info
files, routes, services etc
• Composer is a dependency
manager for PHP.
• It allows you to declare the
libraries your project depends
on and it will manage (install/
update) them for you.
• composer install
• composer update
• composer.json
• vendor
• “Twig” is a fast, secure,
flexible template engine for
PHP applications.
• Twig has it’s own syntax for
writing templates. Finally, the
twig template is converted into
PHP templates.
• https://www.drupal.org/docs/8/
theming/twig/comparison-of-
phptemplate-and-twig-
theming-paradigms
Drupal 8 introduction
Dependency Injection
• Makes sense in Object Oriented Programming
• It’s a design pattern for efficient injection of
services in your code.
Dependency Injection
• “If an object A depends on the object of type B,
the object A won’t explicitly instantiate the object
B but rather will get it injected from the
operational environment”
Dependency Injection
Class A Class B
Uses Class A Object
Class B is dependent on an object of Class A
Dependency Injection
Using NEW Keyword
Dependency Injection
• Drupal follows PSR-4 standards
• It’s a system where we define PHP classes in a specific way so we
could autoload them efficiently when required.
• Demo
Namespaces and
Autoloading
Drupal 8 introduction
Namespace Mapping
Level Namespace Path
Vendor Drupal drupal_root
Module Drupalmodule_name
drupal_root/module_name/
src
Sub Folder
Drupalmodule_namefolder_
name
drupal_root/module_name/
src/folder_name
Drupal 8 introduction
• Started from the CMI initiative
• Almost all configuration could be tracked via code!
• Drupal 8.2 has experimental feature to track and deploy content!
• Demo
Configuration Management
Configuration Management
• Web services in core!
• Views + REST Export = Cool Combination.
• Demo
Web Services
• Multilingual First
• Multilingual configuration is easy and requires less modules
• Everything is translatable! (Content, Blocks, Views, Menus, Fields)
• Transliteration support (for special characters)
• Demo
Multilingual Support
Front-end Improvements
• HTML5
• schema.org output
• New Front-end libraries (Modernizr,
Underscore.js, Backbone.js)
• No IE6, IE7, IE8 etc
Drupal 8 for Site Builders
Drupal 8 for Site Builders
• Spark
• WYSIWYG Editor
• In-place Editing
• Content Moderation and Revisioning
• Mobile Improvements
SPARK
WYSIWYG Editor
In-Place Editing
Content Moderation and Revisioning
More features…
• Views in Core
• Better Blocks
• More field types
• Form Modes
Drupal 8 for Mobile
Drupal 8 for Mobile
• Mobile First
• Out-of-the-box responsive
• Mobile Friendly toolbar
• Improved Front-end performance on Mobile
Mobile Improvements
Enter Drupal 8!
Moving Forward
• Target one training of your practice every month.
• A lead for every practice we run.
• Find a speaker, give him at least 1 month’s
notice to prep.
• Monthly meeting of the leads, reporting directly
to Engineering Manager & Delivery Head.
What’s next?
• Drupal 8 Module Development
• Drupal 8 Theming
• Upgrading D7 modules to D8
• Symfony
• Anything else?
Who and When?
• Volunteer for an training!
• Showcase your talent!
• Improve your communication skills!
• Be ready for Drupalcamps and Drupalcons!
• Anything else?
Thank you!

More Related Content

PDF
Drupal 8 deeper dive
PPTX
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
PDF
The Great Consolidation - Entertainment Weekly Migration Case Study - SANDcam...
PPTX
Data Ingestion Engine
PPTX
Drupal for programmers
PDF
A modern web centric development-deployment environment
PPTX
Digital Publishing Made Easy with the OSCI Toolkit
PDF
Pavel Prischepa. Fffast Drupal backend.
Drupal 8 deeper dive
Polyglot Persistence Utilizing Open Source Databases as a Swiss Pocket Knife
The Great Consolidation - Entertainment Weekly Migration Case Study - SANDcam...
Data Ingestion Engine
Drupal for programmers
A modern web centric development-deployment environment
Digital Publishing Made Easy with the OSCI Toolkit
Pavel Prischepa. Fffast Drupal backend.

What's hot (18)

PDF
Automate your data flows with Apache NIFI
PPTX
Functionality, security and performance monitoring of web assets (e.g. Joomla...
PPTX
Entity Framework 7: What's New?
PPTX
What is Nagios XI and how is it different from Nagios Core
PPTX
Porting ASP.NET applications to Windows Azure
PDF
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
PDF
ProTips for Staying Sane while Working from Home
PPTX
Developing a Staff-Only Samvera Application
PDF
Fisl12 2011
PPTX
Kibana globalization at the RTP meetup
PPT
Shio CMS - Presentation
PPTX
UWP apps development - Part 2
PPTX
An Overview of Hedgehog’s Tools and Modules
KEY
Cms expo
PPTX
GraphDb in XPages
PPTX
Architecture - why so serious?
PDF
SOA Latam 2015
PPTX
01 mad cap_software
Automate your data flows with Apache NIFI
Functionality, security and performance monitoring of web assets (e.g. Joomla...
Entity Framework 7: What's New?
What is Nagios XI and how is it different from Nagios Core
Porting ASP.NET applications to Windows Azure
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
ProTips for Staying Sane while Working from Home
Developing a Staff-Only Samvera Application
Fisl12 2011
Kibana globalization at the RTP meetup
Shio CMS - Presentation
UWP apps development - Part 2
An Overview of Hedgehog’s Tools and Modules
Cms expo
GraphDb in XPages
Architecture - why so serious?
SOA Latam 2015
01 mad cap_software
Ad

Similar to Drupal 8 introduction (20)

PPT
Drupal8 Introduction
PDF
Everything You Need to Know About the Top Changes in Drupal 8
PPTX
Top 8 Improvements in Drupal 8
PDF
Why I've Not bothered With Drupal 8
PPTX
Drupal 8 preview_slideshow
PPTX
Resources for Navigating Drupal Upgrades: Versions 6 Through 8 And What It Me...
PPTX
Drupal 8 Initiatives
PPTX
Drupal news 2012 October
PDF
PlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo Radulovski
PPTX
Our encounter with d8
PDF
Drupal 8 - Build Week Update
PDF
Upcoming version of Drupal – Drupal 8
PDF
The Myth Surrounding Drupal Migration For 2022
PDF
Drupal 7 migrating to drupal 8
PPTX
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
PPTX
Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8
PPTX
EdTechJoker Spring 2020 - Lecture 7 Drupal intro
PDF
PDF
Drupal 8 and 9, Backwards Compatibility, and Drupal 8.5 update
PDF
Drupal 8 the next dimension
Drupal8 Introduction
Everything You Need to Know About the Top Changes in Drupal 8
Top 8 Improvements in Drupal 8
Why I've Not bothered With Drupal 8
Drupal 8 preview_slideshow
Resources for Navigating Drupal Upgrades: Versions 6 Through 8 And What It Me...
Drupal 8 Initiatives
Drupal news 2012 October
PlovDev 2016: Drupal 8 Evolution & Kickstart by Ivo Radulovski
Our encounter with d8
Drupal 8 - Build Week Update
Upcoming version of Drupal – Drupal 8
The Myth Surrounding Drupal Migration For 2022
Drupal 7 migrating to drupal 8
Drupal 9 and Backwards Compatibility: Why now is the time to upgrade to Drupal 8
Ask Us Anything: Dries Buytaert and Team Tell All on Drupal 8
EdTechJoker Spring 2020 - Lecture 7 Drupal intro
Drupal 8 and 9, Backwards Compatibility, and Drupal 8.5 update
Drupal 8 the next dimension
Ad

Recently uploaded (20)

PDF
System and Network Administration Chapter 2
PDF
System and Network Administraation Chapter 3
PPT
Introduction Database Management System for Course Database
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
history of c programming in notes for students .pptx
PPTX
L1 - Introduction to python Backend.pptx
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Nekopoi APK 2025 free lastest update
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Digital Strategies for Manufacturing Companies
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
System and Network Administration Chapter 2
System and Network Administraation Chapter 3
Introduction Database Management System for Course Database
Odoo Companies in India – Driving Business Transformation.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Softaken Excel to vCard Converter Software.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Wondershare Filmora 15 Crack With Activation Key [2025
How to Migrate SBCGlobal Email to Yahoo Easily
history of c programming in notes for students .pptx
L1 - Introduction to python Backend.pptx
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Nekopoi APK 2025 free lastest update
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
How to Choose the Right IT Partner for Your Business in Malaysia
2025 Textile ERP Trends: SAP, Odoo & Oracle
Digital Strategies for Manufacturing Companies
Which alternative to Crystal Reports is best for small or large businesses.pdf

Drupal 8 introduction

  • 2. Introduction to Drupal 8 Aditya Ghan
  • 3. Aditya Ghan Solution Architect DrupalCon Los Angeles 2015 DrupalCon Asia 2016 DrupalCon New Orleans 2016
  • 4. Trainings - The mighty “Why?” • Personal Growth, long term plan and value • Adopt new technologies, practices, policies early. • Stay Relevant in a fast changing tech world.
  • 6. What’s different this time? • Consolidate all fragments of trainings going on right now into one. • Standardise the bare minimums. (PPT, Documentation, Exercises & Assets) • A standard structure, making it repeatable, trackable, and person independent.
  • 8. Introduction to Drupal 8 Aditya Ghan
  • 9. Agenda • Drupal 8 Overview • Drupal 8 for Developers • Drupal 8 for Site Builders • Drupal 8 for Mobile
  • 10. Drupal 8 • It’s the new Drupal • Latest Stable Version - 8.2 • Very different than Drupal 7, much evolved
  • 12. We’re on a island of Drupalisms!
  • 14. More Drupalisms • Minimum OOP support • Hooks
  • 15. Drupal 8 for Developers
  • 16. Understanding Drupal releases • Always use a recommended release when starting a project. • Current Release is 8.2.5 • A new minor release would be made every 6 months (Drupal 8.0.x, 8.1.x, 8.2.x, and so on) • Each Minor release will have some experimental modules for developers to test and give feedbacks
  • 17. Understanding Drupal releases • Each minor release has minor updates within it (8.2.5 to 8.2.6 etc) • Guide to update Drupal 8 core: https:// www.drupal.org/docs/8/update/update- procedure-in-drupal-8 • Exercise caution when updating from one minor release to another (Eg: 8.1.x to 8.2.x)
  • 20. • The leading PHP framework to create websites and web applications. • Drupal 8 uses many Symfony components such as HttpFoundation, HttpKernel, Routing, EventDispatcher
  • 21. • YAML is a human friendly data serialisation standard for all languages. • Drupal uses YAML to store lists and data where computations are not needed • YAML is used to define Info files, routes, services etc
  • 22. • Composer is a dependency manager for PHP. • It allows you to declare the libraries your project depends on and it will manage (install/ update) them for you.
  • 23. • composer install • composer update • composer.json • vendor
  • 24. • “Twig” is a fast, secure, flexible template engine for PHP applications. • Twig has it’s own syntax for writing templates. Finally, the twig template is converted into PHP templates. • https://www.drupal.org/docs/8/ theming/twig/comparison-of- phptemplate-and-twig- theming-paradigms
  • 26. Dependency Injection • Makes sense in Object Oriented Programming • It’s a design pattern for efficient injection of services in your code.
  • 27. Dependency Injection • “If an object A depends on the object of type B, the object A won’t explicitly instantiate the object B but rather will get it injected from the operational environment”
  • 28. Dependency Injection Class A Class B Uses Class A Object Class B is dependent on an object of Class A
  • 29. Dependency Injection Using NEW Keyword Dependency Injection
  • 30. • Drupal follows PSR-4 standards • It’s a system where we define PHP classes in a specific way so we could autoload them efficiently when required. • Demo Namespaces and Autoloading
  • 32. Namespace Mapping Level Namespace Path Vendor Drupal drupal_root Module Drupalmodule_name drupal_root/module_name/ src Sub Folder Drupalmodule_namefolder_ name drupal_root/module_name/ src/folder_name
  • 34. • Started from the CMI initiative • Almost all configuration could be tracked via code! • Drupal 8.2 has experimental feature to track and deploy content! • Demo Configuration Management
  • 36. • Web services in core! • Views + REST Export = Cool Combination. • Demo Web Services
  • 37. • Multilingual First • Multilingual configuration is easy and requires less modules • Everything is translatable! (Content, Blocks, Views, Menus, Fields) • Transliteration support (for special characters) • Demo Multilingual Support
  • 38. Front-end Improvements • HTML5 • schema.org output • New Front-end libraries (Modernizr, Underscore.js, Backbone.js) • No IE6, IE7, IE8 etc
  • 39. Drupal 8 for Site Builders
  • 40. Drupal 8 for Site Builders • Spark • WYSIWYG Editor • In-place Editing • Content Moderation and Revisioning • Mobile Improvements
  • 41. SPARK
  • 44. Content Moderation and Revisioning
  • 45. More features… • Views in Core • Better Blocks • More field types • Form Modes
  • 46. Drupal 8 for Mobile
  • 47. Drupal 8 for Mobile • Mobile First • Out-of-the-box responsive • Mobile Friendly toolbar • Improved Front-end performance on Mobile
  • 50. Moving Forward • Target one training of your practice every month. • A lead for every practice we run. • Find a speaker, give him at least 1 month’s notice to prep. • Monthly meeting of the leads, reporting directly to Engineering Manager & Delivery Head.
  • 51. What’s next? • Drupal 8 Module Development • Drupal 8 Theming • Upgrading D7 modules to D8 • Symfony • Anything else?
  • 52. Who and When? • Volunteer for an training! • Showcase your talent! • Improve your communication skills! • Be ready for Drupalcamps and Drupalcons! • Anything else?