Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Group - Drupalcamp London 2016

1,016 views

Published on

The slides for my Group presentation at Drupalcamp London 2016

Published in: Technology

Group - Drupalcamp London 2016

  1. 1. Group for D8 Managing groups has never been more awesome
  2. 2. • Drupal developer at Deeson Kristiaan Van den Eynde
  3. 3. Kristiaan Van den Eynde • Drupal developer at Deeson • Antwerp, Belgium
  4. 4. Kristiaan Van den Eynde • Drupal developer at Deeson • Antwerp, Belgium • Happily married
  5. 5. Kristiaan Van den Eynde • Drupal developer at Deeson • Antwerp, Belgium • Happily married • Awesome cat
  6. 6. Kristiaan Van den Eynde • Drupal developer at Deeson • Antwerp, Belgium • Happily married • Awesome cat • Highly Sensitive Person
  7. 7. What is Group about?
  8. 8. Group is a management tool
  9. 9. Group is a management tool • Group content together following a specific set of rules AWESOME
  10. 10. Group is a management tool • Group content together following a specific set of rules • Grant users permissions for a small section of the site AWESOME
  11. 11. Group is a management tool • Group content together following a specific set of rules • Grant users permissions for a small section of the site • Control access to specific pieces of content AWESOME
  12. 12. What about OG? Asking the inevitable question in your stead
  13. 13. No needless bashing
  14. 14. (It’s bad karma) No needless bashing
  15. 15. No needless bashing (It’s bad karma) • It repurposes existing entities • Its groups can overrule configuration (hence: organic) • All of its magic is based on who has what fields • The user experience wasn’t really great What I didn’t like about OG:
  16. 16. But anyways
  17. 17. A story about the happiness of content Group’s approach
  18. 18. Drupal Content College
  19. 19. Nodes Drupal Content College
  20. 20. Users Drupal Content College
  21. 21. Terms Drupal Content College
  22. 22. Graduation day
  23. 23. Graduation day
  24. 24. Graduation day Group?
  25. 25. Group fixes this It makes the flurbs happy again
  26. 26. Drupal Content College
  27. 27. Happy graduates all around
  28. 28. Key take-aways • Groups do what they were meant to do all along
  29. 29. Key take-aways • Groups do what they were meant to do all along • We don’t touch other entities
  30. 30. Key take-aways • Groups do what they were meant to do all along • We don’t touch other entities • Flurbs should be happy
  31. 31. Key take-aways • Groups do what they were meant to do all along * • We don’t touch other entities • Flurbs should be happy * Dedicated classes!
  32. 32. Under the hood Not boring, I promise!
  33. 33. Groups have group types • Like content types, but for groups
  34. 34. Groups have group types • Like content types, but for groups • Defines fields, permissions and available content
  35. 35. Groups have group types • Like content types, but for groups • Defines fields, permissions and available content • Applies to all groups of that type, no per-group overrides
  36. 36. Group tells two stories
  37. 37. Group tells two stories • Members • Don’t really care about the content, but more about the relationship • Example: gaming portal Why or how?
  38. 38. Group tells two stories • Members • Don’t really care about the content, but more about the relationship • Example: gaming portal Why or how? What? • Private nodes • Don’t really care about the relationship, but more about the content • Example: paid content
  39. 39. Group Node Redaction Article How entities are grouped
  40. 40. Group NodeGroupContent Redaction Article How entities are grouped
  41. 41. Group NodeGroupContent • FieldableRedaction Article How entities are grouped
  42. 42. Group NodeGroupContent • Fieldable • Per group type,
 per target entity Redaction Article How entities are grouped
  43. 43. Group NodeGroupContent • Fieldable • Per group type,
 per target entity • Managed by plugins Redaction Article How entities are grouped
  44. 44. Managed by plugins?
  45. 45. Warning: developer porn Managed by plugins?
  46. 46. Managed by plugins?
  47. 47. Live demo For real this time!
  48. 48. Questions?
  49. 49. We’re hiring!

×