SlideShare a Scribd company logo
Drupal developers
common mistakes
(actual for Drupal 5,6,7)

Alexey Kolosov (aka Softovick)
system administrator
IT Patrol inc.
Incorrect location of script files,
modules and themes
~/modules
~/themes
~/sites/all/modules
~/sites/domain.ltd/modules
~/sites/all/themes
~/sites/domain.ltd/themes
Different versions of the modules
~/sites/all/modules/project1
AND
~/sites/d1.ltd/modules/project1

only ~/sites/all/modules/project1
OR
only ~/sites/d1.ltd/modules/project1
Сhanges to the code
do not use patches?
do not edit file .info?
disable module Update?
use patches!
http://drupal.org/patch
remove service information
in file .info
UPDATE!
Snippets, PHP in content, etc
snippets in block
PHP script in Views
code in template of your theme
custom module
custom module
custom theme (subtheme)
NO CODE IN CONTENT!
Caching and perfomance
do not use cache?
do not testing
compatibility caching?
caching, caching, caching!
provide use agressive caching
Boost, Varnish etc
be sure test of minimal cache
Overflow functionality and modules

modules whose functionality is not used
modules, functions that do not require
or replaceable lighter analogues
not disabled modules for development
(Devel, Themer, Views UI, etc.)
Overflow functionality and modules

TRY TO USE SIMPLE SOLUTIONS
disable, uninstall and remove
unused modules
use lighter analogues — statistics, search, etc
Thank you!

Any questions?

Alexey Kolosov (aka Softovick)
Skype: Softovick
E-mail: support@it-patrol.ru
Thank you!

Any questions?

Alexey Kolosov (aka Softovick)
Skype: Softovick
E-mail: support@it-patrol.ru

More Related Content

PDF
Gradle-based Android Build System
PPTX
Александр Шуменко - Varnish for authenticated users
PPTX
Евгений Гарбузов - E-commerce. Создание интернет-магазина на базе Drupal Comm...
PPTX
Березовский Андрей - Social Authentication
PDF
Чеботарь Кирилл - Panels - пособие для начинающих
PDF
Тарас Цюпер - Мультиязычность в Drupal 8
PPTX
Анатолий Поляков - Drupal.ajax framework from a to z
PDF
Караиванов Георгий - Drupal в проектах Электронного правительства
Gradle-based Android Build System
Александр Шуменко - Varnish for authenticated users
Евгений Гарбузов - E-commerce. Создание интернет-магазина на базе Drupal Comm...
Березовский Андрей - Social Authentication
Чеботарь Кирилл - Panels - пособие для начинающих
Тарас Цюпер - Мультиязычность в Drupal 8
Анатолий Поляков - Drupal.ajax framework from a to z
Караиванов Георгий - Drupal в проектах Электронного правительства

Viewers also liked (11)

PPTX
Иван Фесюк - ApacheSolr+DrupalCommerce связка для высоко нагруженых проектов
PDF
Андрей Поданенко - Start using Vagrant now!
PPTX
Артем Сыльчук - Хранение полей в Drupal. От CCK к FieldableEntityStorageContr...
PPTX
Александр Бондаренко - CommerceBox - Почему мы решили перевести нашу сборку н...
PDF
Денис Головняк - Продвинутый поиск с помощью Search API
PDF
Тарас Круц - Tips On Getting Everything You Can Out of Drupal Form API
PPTX
Виктор Левандовский - Why Drupal? Как продавать Родину с напильником.
PPTX
Александр Даниленко - Panels как философия
PPT
Сергей Мирошниченко - SEO-friendly data migration
PPTX
Алексей Горобец - Building Drupal Distributions. Why? When? and How?
PDF
Максим Ринг - Тестирование миграции и импорта
Иван Фесюк - ApacheSolr+DrupalCommerce связка для высоко нагруженых проектов
Андрей Поданенко - Start using Vagrant now!
Артем Сыльчук - Хранение полей в Drupal. От CCK к FieldableEntityStorageContr...
Александр Бондаренко - CommerceBox - Почему мы решили перевести нашу сборку н...
Денис Головняк - Продвинутый поиск с помощью Search API
Тарас Круц - Tips On Getting Everything You Can Out of Drupal Form API
Виктор Левандовский - Why Drupal? Как продавать Родину с напильником.
Александр Даниленко - Panels как философия
Сергей Мирошниченко - SEO-friendly data migration
Алексей Горобец - Building Drupal Distributions. Why? When? and How?
Максим Ринг - Тестирование миграции и импорта
Ad

Similar to Алексей Колосов - Типичные ошибки разработчиков на Drupal (версии 5,6,7) (20)

PPTX
Top 20 mistakes you will make on your 1st Drupal project
PDF
The Drupal 7 Worst Practices Catalogue
PDF
Top 20 Drupal Mistakes newbies make
PPT
Drupal 6-performance-tips-slideshare
PPT
Drupal 6 Performance Tips
PPT
Drupal - Introduction to Drupal Creating Modules
PPTX
Becoming A Drupal Master Builder
PPTX
8 Web Practices for Drupal
PDF
Drupal 8: Most common beginner mistakes
PPTX
Improving Drupal Performances
PPTX
Drupal Checklist for Site Builder and Web admin
PDF
BADCamp 2012- Drupal Support
PPT
SynapseIndia drupal presentation on drupal best practices
PDF
Drupalcamp performance
PDF
LA Drupal Camp 2012- Maintaining a Drupal Site
PPT
Contributing to Drupal
PDF
BADCamp 2012 -Beginner Best Practices
PPTX
Support/ maintenance travails - Why and how to audit legacy sites
PDF
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
PPTX
3 Configuring Drupal
Top 20 mistakes you will make on your 1st Drupal project
The Drupal 7 Worst Practices Catalogue
Top 20 Drupal Mistakes newbies make
Drupal 6-performance-tips-slideshare
Drupal 6 Performance Tips
Drupal - Introduction to Drupal Creating Modules
Becoming A Drupal Master Builder
8 Web Practices for Drupal
Drupal 8: Most common beginner mistakes
Improving Drupal Performances
Drupal Checklist for Site Builder and Web admin
BADCamp 2012- Drupal Support
SynapseIndia drupal presentation on drupal best practices
Drupalcamp performance
LA Drupal Camp 2012- Maintaining a Drupal Site
Contributing to Drupal
BADCamp 2012 -Beginner Best Practices
Support/ maintenance travails - Why and how to audit legacy sites
Help! I inherited a Drupal Site! - DrupalCamp Atlanta 2016
3 Configuring Drupal
Ad

More from LEDC 2016 (20)

PPTX
A. Postnikov & P. Mahrinsky — Drupal Community — це ми
PDF
Слава Мережко — Практикум: "Як ростити розробників"
PDF
Генадій Колтун — Комунізм наступає: що будемо робити, коли машини навчаться п...
PDF
Олексій Калініченко — Configuration Management in Drupal8
PPTX
Олександр Лінивий — Multisite platform with continuous delivery process for m...
PPTX
Андрій Юн — Воркшоп "Docker use cases for developers"
PDF
Андрій Поданенко — Воркшоп "Розвертання CIBox"
PDF
Юрій Герасімов — Editorial experience in Drupal8
PPTX
Валентин Мацвейко та Владислав Мойсеєнко — D8: Migrate Yourself: code->module...
PPTX
Тарас Кирилюк — Docker basics. How-to for Drupal developers
PDF
Тарас Круц — Open Social: brand new Drupal 8 distro for building social netwo...
PDF
Ігор Карпиленко — PHPStorm for drupal developer
PDF
Олександр Щедров — Build your application in seconds and optimize workflow as...
PPTX
Анатолій Поляков — Subdomains everywhere
PPTX
Артем Доценко — Deploy Plus. Better UI and more control for deploy module
PPTX
Сергій Бондаренко — Тестування Drupal сайтiв з допогою TqExtension
PPTX
Вадим Абрамчук — Big Drupal: Issues We Met
PDF
Юрій Герасимов — Delayed operations with queues
PPTX
Віталій Бобров — Web components, Polymer and Drupal
PPTX
Олександр Щедров та Альбіна Тюпа — Magic button. Can production releases be s...
A. Postnikov & P. Mahrinsky — Drupal Community — це ми
Слава Мережко — Практикум: "Як ростити розробників"
Генадій Колтун — Комунізм наступає: що будемо робити, коли машини навчаться п...
Олексій Калініченко — Configuration Management in Drupal8
Олександр Лінивий — Multisite platform with continuous delivery process for m...
Андрій Юн — Воркшоп "Docker use cases for developers"
Андрій Поданенко — Воркшоп "Розвертання CIBox"
Юрій Герасімов — Editorial experience in Drupal8
Валентин Мацвейко та Владислав Мойсеєнко — D8: Migrate Yourself: code->module...
Тарас Кирилюк — Docker basics. How-to for Drupal developers
Тарас Круц — Open Social: brand new Drupal 8 distro for building social netwo...
Ігор Карпиленко — PHPStorm for drupal developer
Олександр Щедров — Build your application in seconds and optimize workflow as...
Анатолій Поляков — Subdomains everywhere
Артем Доценко — Deploy Plus. Better UI and more control for deploy module
Сергій Бондаренко — Тестування Drupal сайтiв з допогою TqExtension
Вадим Абрамчук — Big Drupal: Issues We Met
Юрій Герасимов — Delayed operations with queues
Віталій Бобров — Web components, Polymer and Drupal
Олександр Щедров та Альбіна Тюпа — Magic button. Can production releases be s...

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Modernizing your data center with Dell and AMD
PPTX
A Presentation on Artificial Intelligence
PDF
Machine learning based COVID-19 study performance prediction
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
Teaching material agriculture food technology
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
cuic standard and advanced reporting.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Digital-Transformation-Roadmap-for-Companies.pptx
Modernizing your data center with Dell and AMD
A Presentation on Artificial Intelligence
Machine learning based COVID-19 study performance prediction
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Understanding_Digital_Forensics_Presentation.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Teaching material agriculture food technology
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Review of recent advances in non-invasive hemoglobin estimation
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
cuic standard and advanced reporting.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Chapter 3 Spatial Domain Image Processing.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Advanced methodologies resolving dimensionality complications for autism neur...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto

Алексей Колосов - Типичные ошибки разработчиков на Drupal (версии 5,6,7)

  • 1. Drupal developers common mistakes (actual for Drupal 5,6,7) Alexey Kolosov (aka Softovick) system administrator IT Patrol inc.
  • 2. Incorrect location of script files, modules and themes ~/modules ~/themes ~/sites/all/modules ~/sites/domain.ltd/modules ~/sites/all/themes ~/sites/domain.ltd/themes
  • 3. Different versions of the modules ~/sites/all/modules/project1 AND ~/sites/d1.ltd/modules/project1 only ~/sites/all/modules/project1 OR only ~/sites/d1.ltd/modules/project1
  • 4. Сhanges to the code do not use patches? do not edit file .info? disable module Update? use patches! http://drupal.org/patch remove service information in file .info UPDATE!
  • 5. Snippets, PHP in content, etc snippets in block PHP script in Views code in template of your theme custom module custom module custom theme (subtheme) NO CODE IN CONTENT!
  • 6. Caching and perfomance do not use cache? do not testing compatibility caching? caching, caching, caching! provide use agressive caching Boost, Varnish etc be sure test of minimal cache
  • 7. Overflow functionality and modules modules whose functionality is not used modules, functions that do not require or replaceable lighter analogues not disabled modules for development (Devel, Themer, Views UI, etc.)
  • 8. Overflow functionality and modules TRY TO USE SIMPLE SOLUTIONS disable, uninstall and remove unused modules use lighter analogues — statistics, search, etc
  • 9. Thank you! Any questions? Alexey Kolosov (aka Softovick) Skype: Softovick E-mail: support@it-patrol.ru
  • 10. Thank you! Any questions? Alexey Kolosov (aka Softovick) Skype: Softovick E-mail: support@it-patrol.ru