Checklist for drupal site development (Dev Tools)

Post on 07-Aug-2015

163 views 0 download

Tags:

transcript

Checklist for Drupal SiteUse the checklist during development

Friday TechX www.srijan.net

Ravindra Singh @ravindrasingh01

Why is checklist required?

Where checklist can help?

Drupal site can be checked with...

1. Third Party Tools

2. Contrib Modules

3. Following Best Practices

4. Manual Review

New Relic:Third Party Tools

➢ Application Monitoring

➢ Database Monitoring

➢ Error Monitoring

➢ Reports

➢ Team Collaboration

➢ Security

XHProf:Third Party Tools

➢ Inclusive and Exclusive wall time

➢ Call count

➢ Memory usage

➢ CPU times

➢ Diff reports

➢ Aggregated reports

YSlow:Third Party Tools

➢ Grades web page based on predefined ruleset or a user-

defined ruleset;

➢ It offers suggestions for improving the page's performance;

➢ Summarizes the page's components;

➢ Displays statistics about the page;

➢ Provides tools for performance

analysis, including Smush.it™ and JSLint.

More Third Party Tools

➢ PageSpeed Insight by Google

➢ Pingdom Website Speed Test

➢ GT Matrix

Contrib Modules

Coder

Hacked

Security Review

Drupal Code Quality

Drupalgeddon

Site Audit

XHProf

Best Practices➢ Never Hack Core

Best Practices➢ Disable development modules on production

➢ Dblog OFF on production and syslog ON

➢ JS/CSS should not in database

➢ Avoid HTML markup in .module file, create tpl

➢ Use Good IDE and configure your IDE with Drupal coding

standards.

➢ Do the proper commenting and get your code review done

by others.

➢ Avoid too many modules

➢ Consistently use Drush in development

Read more https://www.drupal.org/best-practices

Manual Review

Conclusion

“Use the checklist during

development.”

@ravindrasingh01

Thank You!

Ravindra Singh

https://www.drupal.org/user/2219678