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

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

 
Sẽ kiên quyết xử lý gói cước Tỷ phú của Beeline
Sẽ kiên quyết xử lý gói cước Tỷ phú của Beeline

Bộ Thông tin và Truyền thông cho biết sẽ kiên quyết xử lý gói cước Tỷ phú của Beeline nếu gói cước này không đảm bảo các quy định về viễn thông và cạnh tranh để tránh làm mất ổn định thị trường viễn thông.

Create Animated GIF on Your Android Mobile with GIFDroid
Create Animated GIF on Your Android Mobile with GIFDroid

GIFDroid is free app foe android mobile phone, which allows you to convert your video in Animated GIF easily

Xem qua tính năng của Drupal Flag Module
Xem qua tính năng của Drupal Flag Module

Flag is an incredibly flexible module.