SlideShare a Scribd company logo
Devel
D8 - Release party
Luca Lusso
3 marzo 2017
Wellnet
Introduction
About me
• Luca Lusso
• Senior software architect in Wellnet
• Teacher for www.corsidrupal.it
• (co-)mantainer of Devel, Vardumper, Monolog, XHProf, ...
• @lussoluca on Twitter
• lussoluca on drupal.org
1
Devel
Devel module turns 8!
The project begins in 2003. At that time Drupal version was 4.1
Now it has reached more that 3.500.000 downloads and it runs on more
than 200.000 websites.
The actual Drupal 8 version is 1.0-RC1
2
Devel usage
3
Maintainers
1 Author/Maintainers
2 ======================
3 - Moshe Weitzman <weitzman at tejasa DOT com> http://www.acquia.com
4 - Hans Salvisberg <drupal at salvisberg DOT com>
5 - Pedro Cambra https://drupal.org/user/122101/contact http://www.ymbra.com/
6 - Juan Pablo Novillo https://www.drupal.org/u/juampynr
7 - lussoluca https://www.drupal.org/u/lussoluca
8 - willzyx https://www.drupal.org/u/willzyx
4
Devel
We are releasing the first stable version very soon!
So let’s see the new shiny features of Devel for Drupal 8.
5
Core integrations
Core integrations
Drupal 8 integrates a lot of module that in Drupal 7 were contrib.
The new Devel leverages those modules to provide information and new
features to developers.
6
Toolbar
7
Toolbar
• Devel is now directly integrated into the core Toolbar module
• Visible links are configurable
• When in vertical mode the Toolbar shows all links
8
Services, routing and events
Drupal 8 adds a lot of new concepts and structures that developers needs
to understand in order to build new modules.
Devel now provides report pages for services, routing and events and
many more.
9
Manage configuration and state
Goodby Variables API, welcome Configuration Management System and
State API!
You can use Devel to inspect and edit both sistems.
10
All features
• Cache clear
• Config editor
• Container Info
• Current route info
• Element Info
• Entity Info
• Events Info
• Execute PHP
• Field Info
• PHPinfo()
• Rebuild Menu
• Reinstall Modules
• Routes Info
• Run cron
• State editor
• Theme registry
• View Session 11
Switch users
As in Drupal 7, Devel provides a block that allows a quick switch
between users.
12
Twig extensions
• devel_dump
• devel_message
• devel_breakpoint
13
Dumpers
Available dumpers
• Drupal variable
• Doctrine debug
• Symfony var-dumper
• ChromePHP
• FirePHP
14
Add a dumper
1 <?php
2 /**
3 * @DevelDumper(
4 * id = "example_dumper",
5 * label = @Translation("Example dumper"),
6 * description = @Translation("Example dumper ..."),
7 * )
8 */
9 class ExampleDumper extends DevelDumperBase {
15
Add a dumper
1 <?php
2 interface DevelDumperInterface {
3
4 public function dump($input, $name = NULL);
5 public function export($input, $name = NULL);
6 public function exportAsRenderable($input, $name = NULL);
7 public static function checkRequirements();
16
Webprofiler
Webprofiler
The old Devel query logger and memory profiler has been moved to a
sub-module: Webprofiler.
17
Realtime data
The report pages that Devel shows about services, routing and so on,
lists all data available in a Drupal website.
Webprofiler instead collects data about the rendered page, so it is useful
to measure performance data.
18
Available data collectors - 1
• Assets
• Blocks
• Cache
• Config
• Database
• Devel
• Events
• Extensions
• Forms
• Http
• Mail
19
Available data collectors - 2
• PHP Config
• Performance Timing
• Request
• Routing
• Services
• State
• Theme
• Timeline
• User
• Views
20
Integration with XHProf
Webprofiler collects high level Drupal data structure. If we need PHP
function level data about performance we need a hierarchical profiler like
XHProf (or Tideways for PHP 7.x)
The Drupal XHProf module adds a new data collector for Webprofiler.
21
Call for volunteers
Do you want to contribute to Devel? We need help for development,
testing, documentation, UX.
What are you waiting for? Contact us!
22
Call for developers
Wellnet is hiring!
We are looking for:
• Drupal/PHP developer
• Frontend developer
• DevOps
23
Thank you!
24
Questions?
25
26

More Related Content

Similar to [Luca Lusso] - Devel - D8 release party

Devel for Drupal 8
Devel for Drupal 8Devel for Drupal 8
Devel for Drupal 8
Luca Lusso
 
History of Drupal: From Drop 1.0 to Drupal 8
History of Drupal: From Drop 1.0 to Drupal 8History of Drupal: From Drop 1.0 to Drupal 8
History of Drupal: From Drop 1.0 to Drupal 8
Websolutions Agency
 
LITA Preconference: Getting Started with Drupal (handout)
LITA Preconference: Getting Started with Drupal (handout)LITA Preconference: Getting Started with Drupal (handout)
LITA Preconference: Getting Started with Drupal (handout)
Rachel Vacek
 
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Paul McKibben
 
Drupal 8 improvements for developer productivity php symfony and more
Drupal 8 improvements for developer productivity  php symfony and moreDrupal 8 improvements for developer productivity  php symfony and more
Drupal 8 improvements for developer productivity php symfony and more
Acquia
 
Drush
DrushDrush
Getting Started with Drupal - Handouts
Getting Started with Drupal - HandoutsGetting Started with Drupal - Handouts
Getting Started with Drupal - Handouts
Rachel Vacek
 
drush_multi @ DrupalDevDays 2010
drush_multi @ DrupalDevDays 2010drush_multi @ DrupalDevDays 2010
drush_multi @ DrupalDevDays 2010
Florian Latzel
 
Composer JSON kills make files
Composer JSON kills make filesComposer JSON kills make files
Composer JSON kills make files
ropsu
 
Drush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек МихаилDrush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек Михаил
PVasili
 
Drush and drupal. администрирование волчек михаил
Drush and drupal. администрирование  волчек михаилDrush and drupal. администрирование  волчек михаил
Drush and drupal. администрирование волчек михаил
drupalconf
 
An absolute beginner’s guide to the drupal universe
An absolute beginner’s guide to the drupal universeAn absolute beginner’s guide to the drupal universe
An absolute beginner’s guide to the drupal universe
Karel Jan
 
Ts drupal6 module development v0.2
Ts   drupal6 module development v0.2Ts   drupal6 module development v0.2
Ts drupal6 module development v0.2
Confiz
 
Drush&drupal. administration
Drush&drupal. administrationDrush&drupal. administration
Drush&drupal. administration
zabej
 
Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8
Acquia
 
Drupal, git and sanity
Drupal, git and sanityDrupal, git and sanity
Drupal, git and sanity
Charlie Morris
 
Undine: Turnkey Drupal Development Environments
Undine: Turnkey Drupal Development EnvironmentsUndine: Turnkey Drupal Development Environments
Undine: Turnkey Drupal Development Environments
David Watson
 
PPPA D8 presentation Drupal For Gov_0
PPPA D8 presentation Drupal For Gov_0PPPA D8 presentation Drupal For Gov_0
PPPA D8 presentation Drupal For Gov_0
Stan Ascher
 
Drupal in-depth
Drupal in-depthDrupal in-depth
Drupal in-depth
Kathryn Carruthers
 
Drush und Multisite: drush_multi
Drush und Multisite: drush_multiDrush und Multisite: drush_multi
Drush und Multisite: drush_multi
Florian Latzel
 

Similar to [Luca Lusso] - Devel - D8 release party (20)

Devel for Drupal 8
Devel for Drupal 8Devel for Drupal 8
Devel for Drupal 8
 
History of Drupal: From Drop 1.0 to Drupal 8
History of Drupal: From Drop 1.0 to Drupal 8History of Drupal: From Drop 1.0 to Drupal 8
History of Drupal: From Drop 1.0 to Drupal 8
 
LITA Preconference: Getting Started with Drupal (handout)
LITA Preconference: Getting Started with Drupal (handout)LITA Preconference: Getting Started with Drupal (handout)
LITA Preconference: Getting Started with Drupal (handout)
 
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
 
Drupal 8 improvements for developer productivity php symfony and more
Drupal 8 improvements for developer productivity  php symfony and moreDrupal 8 improvements for developer productivity  php symfony and more
Drupal 8 improvements for developer productivity php symfony and more
 
Drush
DrushDrush
Drush
 
Getting Started with Drupal - Handouts
Getting Started with Drupal - HandoutsGetting Started with Drupal - Handouts
Getting Started with Drupal - Handouts
 
drush_multi @ DrupalDevDays 2010
drush_multi @ DrupalDevDays 2010drush_multi @ DrupalDevDays 2010
drush_multi @ DrupalDevDays 2010
 
Composer JSON kills make files
Composer JSON kills make filesComposer JSON kills make files
Composer JSON kills make files
 
Drush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек МихаилDrush and drupal. администрирование. Волчек Михаил
Drush and drupal. администрирование. Волчек Михаил
 
Drush and drupal. администрирование волчек михаил
Drush and drupal. администрирование  волчек михаилDrush and drupal. администрирование  волчек михаил
Drush and drupal. администрирование волчек михаил
 
An absolute beginner’s guide to the drupal universe
An absolute beginner’s guide to the drupal universeAn absolute beginner’s guide to the drupal universe
An absolute beginner’s guide to the drupal universe
 
Ts drupal6 module development v0.2
Ts   drupal6 module development v0.2Ts   drupal6 module development v0.2
Ts drupal6 module development v0.2
 
Drush&drupal. administration
Drush&drupal. administrationDrush&drupal. administration
Drush&drupal. administration
 
Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8Everything You Need to Know About the Top Changes in Drupal 8
Everything You Need to Know About the Top Changes in Drupal 8
 
Drupal, git and sanity
Drupal, git and sanityDrupal, git and sanity
Drupal, git and sanity
 
Undine: Turnkey Drupal Development Environments
Undine: Turnkey Drupal Development EnvironmentsUndine: Turnkey Drupal Development Environments
Undine: Turnkey Drupal Development Environments
 
PPPA D8 presentation Drupal For Gov_0
PPPA D8 presentation Drupal For Gov_0PPPA D8 presentation Drupal For Gov_0
PPPA D8 presentation Drupal For Gov_0
 
Drupal in-depth
Drupal in-depthDrupal in-depth
Drupal in-depth
 
Drush und Multisite: drush_multi
Drush und Multisite: drush_multiDrush und Multisite: drush_multi
Drush und Multisite: drush_multi
 

Recently uploaded

Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStrDeep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
saastr
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
GDSC PJATK
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 

Recently uploaded (20)

Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStrDeep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
Deep Dive: Getting Funded with Jason Jason Lemkin Founder & CEO @ SaaStr
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 

[Luca Lusso] - Devel - D8 release party

  • 1. Devel D8 - Release party Luca Lusso 3 marzo 2017 Wellnet
  • 3. About me • Luca Lusso • Senior software architect in Wellnet • Teacher for www.corsidrupal.it • (co-)mantainer of Devel, Vardumper, Monolog, XHProf, ... • @lussoluca on Twitter • lussoluca on drupal.org 1
  • 4. Devel Devel module turns 8! The project begins in 2003. At that time Drupal version was 4.1 Now it has reached more that 3.500.000 downloads and it runs on more than 200.000 websites. The actual Drupal 8 version is 1.0-RC1 2
  • 6. Maintainers 1 Author/Maintainers 2 ====================== 3 - Moshe Weitzman <weitzman at tejasa DOT com> http://www.acquia.com 4 - Hans Salvisberg <drupal at salvisberg DOT com> 5 - Pedro Cambra https://drupal.org/user/122101/contact http://www.ymbra.com/ 6 - Juan Pablo Novillo https://www.drupal.org/u/juampynr 7 - lussoluca https://www.drupal.org/u/lussoluca 8 - willzyx https://www.drupal.org/u/willzyx 4
  • 7. Devel We are releasing the first stable version very soon! So let’s see the new shiny features of Devel for Drupal 8. 5
  • 9. Core integrations Drupal 8 integrates a lot of module that in Drupal 7 were contrib. The new Devel leverages those modules to provide information and new features to developers. 6
  • 11. Toolbar • Devel is now directly integrated into the core Toolbar module • Visible links are configurable • When in vertical mode the Toolbar shows all links 8
  • 12. Services, routing and events Drupal 8 adds a lot of new concepts and structures that developers needs to understand in order to build new modules. Devel now provides report pages for services, routing and events and many more. 9
  • 13. Manage configuration and state Goodby Variables API, welcome Configuration Management System and State API! You can use Devel to inspect and edit both sistems. 10
  • 14. All features • Cache clear • Config editor • Container Info • Current route info • Element Info • Entity Info • Events Info • Execute PHP • Field Info • PHPinfo() • Rebuild Menu • Reinstall Modules • Routes Info • Run cron • State editor • Theme registry • View Session 11
  • 15. Switch users As in Drupal 7, Devel provides a block that allows a quick switch between users. 12
  • 16. Twig extensions • devel_dump • devel_message • devel_breakpoint 13
  • 18. Available dumpers • Drupal variable • Doctrine debug • Symfony var-dumper • ChromePHP • FirePHP 14
  • 19. Add a dumper 1 <?php 2 /** 3 * @DevelDumper( 4 * id = "example_dumper", 5 * label = @Translation("Example dumper"), 6 * description = @Translation("Example dumper ..."), 7 * ) 8 */ 9 class ExampleDumper extends DevelDumperBase { 15
  • 20. Add a dumper 1 <?php 2 interface DevelDumperInterface { 3 4 public function dump($input, $name = NULL); 5 public function export($input, $name = NULL); 6 public function exportAsRenderable($input, $name = NULL); 7 public static function checkRequirements(); 16
  • 22. Webprofiler The old Devel query logger and memory profiler has been moved to a sub-module: Webprofiler. 17
  • 23. Realtime data The report pages that Devel shows about services, routing and so on, lists all data available in a Drupal website. Webprofiler instead collects data about the rendered page, so it is useful to measure performance data. 18
  • 24. Available data collectors - 1 • Assets • Blocks • Cache • Config • Database • Devel • Events • Extensions • Forms • Http • Mail 19
  • 25. Available data collectors - 2 • PHP Config • Performance Timing • Request • Routing • Services • State • Theme • Timeline • User • Views 20
  • 26. Integration with XHProf Webprofiler collects high level Drupal data structure. If we need PHP function level data about performance we need a hierarchical profiler like XHProf (or Tideways for PHP 7.x) The Drupal XHProf module adds a new data collector for Webprofiler. 21
  • 27. Call for volunteers Do you want to contribute to Devel? We need help for development, testing, documentation, UX. What are you waiting for? Contact us! 22
  • 28. Call for developers Wellnet is hiring! We are looking for: • Drupal/PHP developer • Frontend developer • DevOps 23
  • 31. 26