Drupal haters gonna hate


Published on

An uncon talk at PHP North West 2012, challenging some of the myths found outside the Drupal community.

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Drupal haters gonna hate

  1. 1. Drupal Haters Gonna Hate Drupal Haters? You’re all hypocrites.
  2. 2. Drupal Haters Gonna Hate I work with Drupal.
  3. 3. Drupal Haters Gonna Hate
  4. 4. Drupal Haters Gonna HateLETS TALK ABOUT PHP.
  5. 5. Drupal Haters Gonna HateEwww, you use PHP?I thought you werecool!
  6. 6. Drupal Haters Gonna HateAll the APIs areexecrable.
  7. 7. Drupal Haters Gonna HateAll the PHP code I’ve seenhas been messy,unmaintainable crap.Spaghetti SQL wrapped inspaghetti PHP wrapped inspaghetti HTML.
  8. 8. Drupal Haters Gonna HateThe term “good PHPprogrammer” isconsidered an oxymoron.
  9. 9. Drupal Haters Gonna HateSOUND FAMILIAR?
  10. 10. Drupal Haters Gonna HateWHERE DOES THIS ATTITUDE COMEFROM?
  11. 11. Drupal Haters Gonna HateLow barrier to writing or re-deploying code.
  12. 12. Drupal Haters Gonna HateLots of tutorials, which omitbest-practice in order tosimplify the example.
  13. 13. Drupal Haters Gonna HateTHE COUNTER-ARGUMENT.
  14. 14. Drupal Haters Gonna HateThe language you use ismuch less important thanthe platform you build on it.
  15. 15. Drupal Haters Gonna HateThere’s a long list of sitesthat bust that myth……Facebook?
  16. 16. Drupal Haters Gonna HateDRUPAL IS BAD…MKKK?
  17. 17. Drupal Haters Gonna Hate• Not OOP• Learning curve is crazy• It’s SLOW• Simple, naive
  18. 18. Drupal Haters Gonna Hate Not OOP?• Drupal uses a coding-pattern we call hooks. It’s essentially an implementation of the observer/visitor design patterns.• The menu-router is basically a front-controller.• It’s not MVC? The business logic is decoupled from the presentation logic through the theme layer…it’s not MVC, it’s PAC (Presentation-Abstraction Control).• The implementations for database, caching, and other tasks are pluggable.• Modules such as panels use DI.• (Oh, PHP isn’t OOP either, right?)
  19. 19. Drupal Haters Gonna Hate Learning curve is crazy?
  20. 20. Drupal Haters Gonna Hate
  21. 21. Drupal Haters Gonna Hate
  22. 22. Drupal Haters Gonna Hate Learning curve is crazy?
  23. 23. Drupal Haters Gonna Hate Learning curve is crazy?• A Cessna is a simple plane. Small, single-prop, it’s a plane to learn on. When you’re qualified, you can fly pretty much any small single-prop.• When you qualify on an A-380, you’re certified to fly an A-380. You can’t fly another airbus on that licence. You can’t fly a Boeing.• You need to re-certify for each different plane.
  24. 24. Drupal Haters Gonna Hate Learning curve is crazy?• PHP is a simple language. When you can write PHP, you can work with any small, simple PHP framework or site.• When you’re knowledgeable and experienced with Zend Framework, can build great Zend Framework sites. You can’t dive into a Symfony project. You can’t dive into a Drupal project.• You need to re-learn for each framework.
  25. 25. Drupal Haters Gonna Hate It’s SLOW?
  26. 26. Drupal Haters Gonna Hate It’s slow?• Drupal is expected to work out of the box on shared hosting.• It uses the database as a cache. I know, right?
  27. 27. Drupal Haters Gonna Hate It’s slow?• We already know how to make sites perform: memcache, varnish, APC, CDNs…use them.• Learn which Drupal configurations have a material impact on performance.• Learn how to leverage the caching APIs in the modules you develop.• Benchmark and profile.
  28. 28. Drupal Haters Gonna Hate It’s slow?• You’re all professional developers.• You already have the knowledge and experience to know how to make a platform perform and scale.• Drupal already supports the same standard practices and tools that you’ll find in the PHP community.
  29. 29. Drupal Haters Gonna Hate It’s simple, naive? DB You’re expecting Web this? server
  30. 30. Drupal Haters Gonna Hate HA Proxy HA Proxy Last year, I worked on Zeus Zeus this Drupal- Varnish Varnish based Web Web platform.Memcache LDAP SOLR ESBNAS/SAN DB (master) DB (slave)
  31. 31. Drupal Haters Gonna HateDRUPAL: THE GOOD PARTS.
  32. 32. Drupal Haters Gonna Hate Who’s using Drupal?• The White House• Warner Music• Turner Media• Al Jazeera• Twitter• Apple
  33. 33. Drupal Haters Gonna Hate Who’s building with Drupal?• Global SIs: Capita, Capgemini, Accenture…• Acquia – founded by Dries. “America’s top one-hundred most promising companies” – Forbes.• Ixis – PHPNW Sponsor
  34. 34. Drupal Haters Gonna Hate Joining the Drupal community• DUGs NWDUG meet on the first Wednesday of every month in Manchester.• Camps Drupalcamp NW: 23-25 November 2012.• Conferences 3 Drupalcons in 2013: Sydney, Portland, Prague.• IRC #drupal-uk, #drupal-support
  35. 35. Drupal Haters Gonna Hate
  36. 36. Drupal Haters Gonna HateWHERE IS DRUPAL GOING?
  37. 37. Drupal Haters Gonna Hate Drupal release schedule 2 01 2 2008 2009 2 01 42007 2 01 3 2 01 1 2 010 Retired Drupal 5 Jan 2011 Drupal 6 Drupal 7 Drupal 8 Expected mid-2013
  38. 38. Drupal Haters Gonna Hate What’s happening Drupal 8?• Configuration management• Web services• Design• Multi-lingual• HTML 5 http://groups.drupal.org/• Mobile drupal-initiatives
  39. 39. Drupal Haters Gonna Hate What’s happening in Drupal 8?• Integrating a number of Symfony components• HTTPKernel and caching kernel• Twig• Composer?• YAML configuration
  40. 40. Drupal Haters Gonna HateFINAL MESSAGE
  41. 41. Drupal Haters Gonna HateBefore you jump on that bandwagonthinking nothing interesting couldpossibly be done with Drupal,remember the FUD levelled at PHP.You might be missing out onsomething great.
  42. 42. Drupal Haters Gonna Hate Picture attributions• Haters gonna hate eagle Eric J. Lubbers• Cessna Photobunny• Drupalcon Munich group photo Drupal Association
  43. 43. Drupal Haters Gonna Hate Thank you! Marcus Deglos @manarth http://deglos.com/ marcus@deglos.com