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

1,720 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,720
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

  1. 1. Drupal developers common mistakes (actual for Drupal 5,6,7) Alexey Kolosov (aka Softovick) system administrator IT Patrol inc.
  2. 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. 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. 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. 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. 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. 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. 8. Overflow functionality and modules TRY TO USE SIMPLE SOLUTIONS disable, uninstall and remove unused modules use lighter analogues — statistics, search, etc
  9. 9. Thank you! Any questions? Alexey Kolosov (aka Softovick) Skype: Softovick E-mail: support@it-patrol.ru
  10. 10. Thank you! Any questions? Alexey Kolosov (aka Softovick) Skype: Softovick E-mail: support@it-patrol.ru

×