Đã 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

 
Seo top

Báo giá quảng cáo Google SEO

Hiện Express Magazine đang thực hiện chương trình khuyến mãi dịch vụ ( SEO Miễn Phí ) top Google cho khách hàng nào có nhu cầu muốn quảng bá website qua dịch vụ seo trên google

[Phần 4] - The Comments Model: Thêm comments, Doctrine Repositories và Migrations

[Phần 4] - Comments Model: Thêm comments, Doctrine Repositories và Migrations

This chapter will build on the blog model we defined in the previous chapter. We will create the comment model, which will handle comments for blog posts.

SEO cho Blogger Template, website được tìm thấy dễ năm 2015

SEO cho Blogger Template, website được tìm thấy dễ năm 2015

Giả sử bạn là 1 trong 100 triệu trang web trên thế giới. Vậy bạn làm thế nào để trang web của mình có thể dễ dàng được tìm thấy.

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

 

Diet con trung