JIBRAN IJAZ (@JIBRANIJAZ) What is new in Drupal 8?

Preview:

Citation preview

J IBRAN I JAZ (@JIBRANIJAZ)

What is new in Drupal 8?

● DRUPAL DEVELOPER, PREVIOUSNEXT● MEMBER, DRUPAL ASSOCIATION● CORE CONTRIBUTOR, DRUPAL● CONTRIB MODULE MAINTAINER, DRUPAL

@JibranIjaz

What is Drupal

• Content Management System

• Drupal is used to manage content on o Informational siteso Social Media siteso Member siteso Internet & Web Application

What is Drupal 8

• Not just a Content Management System

• It is a FRAMEWORK

• Completely revamped

• Leverages already existing technology

• Web Publishing Tool

Under the Hood Changes

• On the surface, Drupal 8 looks the same as Drupal 7

• Under the hood, there are a lot of changes

• Drupal 8, now uses existing frameworks, and their components to enhance its internal architecture

Under the Hood Changes

• Existing libraries like:o Symfonyo Twigo Guzzleo EasyRDFo PHPUnit

and many more...

Under the Hood Changes

"Basically, we went from invented here to proudly invented elsewhere (PIE)."

New Contrib Modules In Core

• In Drupal 8, some of the very vital modules have been brought into CORE

• Modules like:o Viewso Entity APIo Entity Referenceo Field modules (Email, Link, Phone)

and a few more have been brought entirely into CORE

New Contrib Modules In Core

• Modules likeo CKEditoro Admin Viewso Views Bulk Operationso Field Modules (Date)

and a few more have been moved partially into CORE

New Contrib Modules In Core

• Modules likeo Blogo Dashboardo Open IDo Poll

and a few more have been completely removed from CORE

• There is a long list of modules which have been completely deprecated from CORE

New Subsystems & Components

• There are a few subsystems that have been introduced in COREo Configuration Systemo Migration Systemo Plugin Systemo Routing Systemo Typedate System

Improved Subsystems & Components

• There are a few subsystems that have been completely re-architecturedo Theme Systemo Extension Systemo Bootstrap Systemo Entity/Field Systemo Form System

and a few others

OOP in Drupal 8

• Before Drupal 8, Drupal used to support functional programming

• Now, Drupal 8 has embraced Object Oriented Programming. Such aso Controllers

Entity Controller Route Controller

OOP in Drupal 8

o Plugins Blocks Custom Blocks Views Action

etc

OOP in Drupal 8

• All the site building components are now objects Such as:o Blockso Entitieso Fieldso Forms

Module Development

• Drupal 8 has opted for Object Oriented approach for Theme and Module development

• .info files are now .yml files

• .module files are now optional

Theme Development

• Drupal 8 has introduced twig Templating Engine which follows Object Oriented Paradigm

• PHP Templating Engine has been removed from CORE

FUD and Drupal 8

FUD is:F : FearU : UncertaintyD : Doubt

FUD and Drupal 8

• In Drupal 8 extreme changes in CORE lead to FUD ofo Developer Experienceo Securityo Code Complexity

FUD and Drupal 8

• In order to resolve these issue:o Helper classes have been introduced to increase

the developer experienceo Short release cycles are planned to ensure the

quick resolution of security issueso De-Coupling of APIs lead to the reduction of

complexity, majorly

References

• http://nodeone.se/en/what-is-drupal-cms

• https://github.com/Crell/slides-drupal-cms/

• http://drupal.stackexchange.com/a/68139/5252

• https://drupal.org/project/issues/drupal

Thanks

• Drupal Camps

• PreviousNext

• Drupal Community

• Friends

Questions?

Recommended