Đã có bản Webprofiler toolbar cho Drupal 8

Đã có bản Webprofiler toolbar cho Drupal 8

As someone working on some drupal site you often want to understand what happens on a specific site. This blog post will describe a tool which helps to understand the site faster and easier.

One example you wanna see are the executed database queries. In Drupal 7 we had the wonderful Devel module which showed a list of executed database queries below the page but there are way more information you might want to know:

  • PHP Configuration
  • The needed time and memory
  • List of enabled themes/modules
  • Routing information (aka. hook_menu in D7)
  • The requested cache/Key-Value data
  • Information about the Request raw data

Symfony has a nice toolbar at the bottom
which stores this information, shows it and make it available as separate page
for additional research.

The founder of symfony (fabpot) gave me some
initial version of a drupal integration. Sadly Luca Lusso started independent on a version, so we merged the code together and continue
on https://drupal.org/node/2165731.

So here is out it looks like (click images for larger version):

so you see quite a big amount of integrations already. Let's list what we have at the moment:

Đã có bản Webprofiler toolbar cho  Drupal 8

  • PHP Config
  • Request
  • Forms
  • Database
  • Modules/Themes
  • Routing
  • Cache
  • State
  • (Config: There is a working branch relying on a core patch: https://drupal.org/node/2184231)
  • Your ideas!

You could certainly ask yourself whether this is a total replacement of the devel module. There is an
ongoing discussion at https://drupal.org/node/257770 whether to use the symfony toolbar/an alternative php one.

Please try out the module on Drupal 8 and come up with more ideas and help us.

Tags: 
Bạn thấy bài viết này như thế nào?: 
Average: 5 (3 votes)
Ảnh của Khanh Hoang

Khanh Hoang - Kenn

Kenn is a user experience designer and front end developer who enjoys creating beautiful and usable web and mobile experiences.

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Drupal Point of Sale 8 Released

Drupal Point of Sale đã có bản Released cho Drupal 8 Commerce

The Drupal 7 version has been in the wild for a while now, but today marks the official, production ready release for Drupal 8.

Giới thiệu REST Easy phần 2: Sub Property Boogaloo

Giới thiệu REST Easy phần 2: Sub Property Boogaloo

Hello again, RESTful friends. Welcome to episode II, The RESTful strikes back

Những sự kiện SEO quan trọng 2012 được Matt Cutts nhấn mạnh

Những sự kiện SEO quan trọng 2012 được Matt Cutts nhấn mạnh

Tại sự kiện PubCon 2012 ở Las Vegas, Matt Cutts đã có một Slide nhấn mạnh về nhửng điểm nổi bật tình hình SEO năm 2012, đặc biệt có điểm nhấn là công cụ disavow Tools vì đây là công cụ Matt Cutts đang theo dõi trong phiên làm việc hiện tại.

Công ty diệt chuột T&C

 

Diet con trung