Lịch sử module Drupal Statistics, thống kê truy cập

Lịch sử module Drupal Statistics, thống kê truy cập

Drupal Statistics

Since February 2012 I have been the maintainer of the Statistics module in Drupal core. Since then I have overseen two pretty big changes to the module.

>> Hướng dẫn Solr Integrations với Drupal Sarnia Module

>> Acquia certification program có thật sự cần cho drupal Dev

Admittedly this was after in 2011 I tried to get the module removed from Drupal core.

The first big change was to remove a good chunk of the module, the access log. This tracked things like referrers and visitors, which most people do in a service like Google Analytics. This was committed by Dries to Drupal 8 in early 2013.

The second big change was to use an AJAX call to count a node view. This allowed the module to work even when a site was using a reverse proxy cache such as Varnish. As well as getting committed to Drupal 8, this was also back ported to Drupal 7.

CouchDB, MongoDB, Redis

Now I am on a mission to breath new live into the module.

A patch I’ve been working on for the last 3 years is to give the statistics module a swappable or overridable backend. Since July 2014 it has been possible to define a service as being “backend_overridable”, and this is exactly what I’m proposing for the statistics module. The patch waiting to be committed creates a service and moves all database queries to there, this can (and already is) be overridden by a contrib module.

This will bring a huge performance boost of allowing statistics to be written to CouchDB, MongoDB, Redis or anywhere.

The next step then is to get the statistics module to count views for all entity types and not just nodes. This is a legacy feature that is left over from Drupal 6 which didn’t have entities. Hopefully this can be committed to Drupal 8.1.x.

If you want to help out, please join the issue queue.

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

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

 
Cấu hình Varnish để nâng cao hiệu suất cho Web Servers

Cấu hình Varnish để nâng cao hiệu suất cho Web Servers

Varnish is a very popular software package that can dramatically accelerate the work of serving HTTP pages.

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.

Chrome 17 - Nhanh và an toàn hơn

Chrome 17 - Nhanh và an toàn hơn

Tháng 2 có vẻ là một tháng bận rộn với Google, không lâu sau khi trình làng phiên bản Chrome cho nền tảng Android, Google đã tiếp tục phát hành phiên bản chính thức của Chrome 17 với nhiều cải tiến thực sự hiệu quả, cả về tốc độ lẫn tính năng.

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

 

Diet con trung