What is new in Drupal 8x

Download Report

Transcript What is new in Drupal 8x

What is new in Drupal 8?
JIBRAN IJAZ
(@JIBRANIJAZ)
@JibranIjaz
●
●
●
●
DRUPAL DEVELOPER, PREVIOUSNEXT
MEMBER, DRUPAL ASSOCIATION
CORE CONTRIBUTOR, DRUPAL
CONTRIB MODULE MAINTAINER, DRUPAL
What is Drupal
•
•
Content Management System
Drupal is used to manage content on
Informational sites
o Social Media sites
o Member sites
o Internet & Web Application
o
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
o
o
o
o
Symfony
Twig
Guzzle
EasyRDF
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:
Views
o Entity API
o Entity Reference
o Field modules (Email, Link, Phone)
o
and a few more have been brought entirely into CORE
New Contrib Modules In Core
•
Modules like
CKEditor
o Admin Views
o Views Bulk Operations
o Field Modules (Date)
o
and a few more have been moved partially into CORE
New Contrib Modules In Core
•
Modules like
Blog
o Dashboard
o Open ID
o Poll
o
•
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 CORE
o
o
o
o
o
Configuration System
Migration System
Plugin System
Routing System
Typedate System
Improved Subsystems & Components
•
There are a few subsystems that have been
completely re-architectured
o
o
o
o
o
Theme System
Extension System
Bootstrap System
Entity/Field System
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 as
o
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:
Blocks
o Entities
o Fields
o Forms
o
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 : Fear
U : Uncertainty
D : Doubt
FUD and Drupal 8
•
In Drupal 8 extreme changes in CORE lead to
FUD of
Developer Experience
o Security
o Code Complexity
o
FUD and Drupal 8
•
In order to resolve these issue:
Helper classes have been introduced to increase the
developer experience
o Short release cycles are planned to ensure the quick
resolution of security issues
o De-Coupling of APIs lead to the reduction of complexity,
majorly
o
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?